[jboss-cvs] system2/src/tests/org/jboss/test/profileservice/profiles/p0/beans ...
Scott Stark
scott.stark at jboss.com
Fri Jul 14 00:27:24 EDT 2006
User: starksm
Date: 06/07/14 00:27:24
Added: src/tests/org/jboss/test/profileservice/profiles/p0/beans
NoTxConnectionManager.java DataSourceView.java
TxMgr.java JCAMgr.java PoolView.java
JBossManagedConnectionPool.java
TxConnectionManager.java DataSourceThing.java
RARDeployment.java NamingService.java
Log:
Move profileservice tests to the server module
Revision Changes Path
1.1 date: 2006/07/14 04:27:24; author: starksm; state: Exp;system2/src/tests/org/jboss/test/profileservice/profiles/p0/beans/NoTxConnectionManager.java
Index: NoTxConnectionManager.java
===================================================================
package org.jboss.test.profileservice.profiles.p0.beans;
import org.jboss.annotation.management.ManagedProperty;
import org.jboss.annotation.management.ViewUse;
/**
* @author ccrouch at jboss.org
* @version $Revision$
*/
public class NoTxConnectionManager {
@ManagedProperty (use= ViewUse.CONFIGURATION)
public String securityDomainJndiName;
}
1.1 date: 2006/07/14 04:27:24; author: starksm; state: Exp;system2/src/tests/org/jboss/test/profileservice/profiles/p0/beans/DataSourceView.java
Index: DataSourceView.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.test.profileservice.profiles.p0.beans;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import org.jboss.annotation.management.ManagedObject;
/**
* The management view for the datasource deployment. Each field represents the
* name of the DeploymentBean property to bind to the field.
*
* @author starksm
* @version $Revision$
*/
@ManagedObject
@Retention(value=RetentionPolicy.RUNTIME)
public @interface DataSourceView
{
public String jndiName() default "JndiName";
public String useJavaContext() default "UseJavaContext";
public String securityDomainJndiName() default "SecurityDomainJndiName";
public String typeMapping() default "TypeMapping";
public PoolView pool() default @PoolView;
}
1.1 date: 2006/07/14 04:27:24; author: starksm; state: Exp;system2/src/tests/org/jboss/test/profileservice/profiles/p0/beans/TxMgr.java
Index: TxMgr.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.test.profileservice.profiles.p0.beans;
import org.jboss.test.profileservice.profiles.p0.ifaces.ITxMgr;
import org.jboss.test.profileservice.profiles.p0.ifaces.INamingService;
/**
* @author Scott.Stark at jboss.org
* @version $Revision$
*/
public class TxMgr
implements ITxMgr
{
INamingService ns;
public INamingService getNameService()
{
return ns;
}
public void setNameService(INamingService ns)
{
this.ns = ns;
}
}
1.1 date: 2006/07/14 04:27:24; author: starksm; state: Exp;system2/src/tests/org/jboss/test/profileservice/profiles/p0/beans/JCAMgr.java
Index: JCAMgr.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.test.profileservice.profiles.p0.beans;
import org.jboss.test.profileservice.profiles.p0.ifaces.IJCAMgr;
import org.jboss.test.profileservice.profiles.p0.ifaces.INamingService;
import org.jboss.test.profileservice.profiles.p0.ifaces.ITxMgr;
/**
* @author Scott.Stark at jboss.org
* @version $Revision$
*/
public class JCAMgr
implements IJCAMgr
{
private INamingService ns;
private ITxMgr txMgr;
public INamingService getNameService()
{
return ns;
}
public void setNameService(INamingService ns)
{
this.ns = ns;
}
public ITxMgr getTxMgr()
{
return txMgr;
}
public void setTxMgr(ITxMgr mgr)
{
this.txMgr = mgr;
}
}
1.1 date: 2006/07/14 04:27:24; author: starksm; state: Exp;system2/src/tests/org/jboss/test/profileservice/profiles/p0/beans/PoolView.java
Index: PoolView.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.test.profileservice.profiles.p0.beans;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import org.jboss.annotation.management.ManagedObject;
@ManagedObject
@Retention(value=RetentionPolicy.RUNTIME)
public @interface PoolView
{
public String minSize() default "MinSize";
public String maxSize() default "MaxSize";
}
1.1 date: 2006/07/14 04:27:24; author: starksm; state: Exp;system2/src/tests/org/jboss/test/profileservice/profiles/p0/beans/JBossManagedConnectionPool.java
Index: JBossManagedConnectionPool.java
===================================================================
package org.jboss.test.profileservice.profiles.p0.beans;
import org.jboss.annotation.management.ManagedProperty;
import org.jboss.annotation.management.ViewUse;
/**
* @author ccrouch at jboss.org
* @version $Revision$
*/
public class JBossManagedConnectionPool {
@ManagedProperty (use= ViewUse.CONFIGURATION)
public int blockingTimeoutMillis;
@ManagedProperty (use= ViewUse.STATISTIC)
public int connectionCreatedCount;
}
1.1 date: 2006/07/14 04:27:24; author: starksm; state: Exp;system2/src/tests/org/jboss/test/profileservice/profiles/p0/beans/TxConnectionManager.java
Index: TxConnectionManager.java
===================================================================
package org.jboss.test.profileservice.profiles.p0.beans;
import org.jboss.annotation.management.ManagedProperty;
import org.jboss.annotation.management.ViewUse;
/**
* @author ccrouch at jboss.org
* @version $Revision$
*/
public class TxConnectionManager
{
@ManagedProperty(use = ViewUse.CONFIGURATION)
public boolean trackConnectionByTx;
@ManagedProperty(use = ViewUse.CONFIGURATION)
public String jndiName;
}
1.1 date: 2006/07/14 04:27:24; author: starksm; state: Exp;system2/src/tests/org/jboss/test/profileservice/profiles/p0/beans/DataSourceThing.java
Index: DataSourceThing.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.test.profileservice.profiles.p0.beans;
/**
* @author Scott.Stark at jboss.org
* @version $Revision$
*/
@DataSourceView()
public class DataSourceThing
{
}
1.1 date: 2006/07/14 04:27:24; author: starksm; state: Exp;system2/src/tests/org/jboss/test/profileservice/profiles/p0/beans/RARDeployment.java
Index: RARDeployment.java
===================================================================
package org.jboss.test.profileservice.profiles.p0.beans;
import org.jboss.annotation.management.ManagedProperty;
import org.jboss.annotation.management.ViewUse;
/**
* @author ccrouch at jboss.org
* @version $Revision$
*/
public class RARDeployment {
@ManagedProperty (use= ViewUse.CONFIGURATION)
public String connectionFactoryProperty1;
}
1.1 date: 2006/07/14 04:27:24; author: starksm; state: Exp;system2/src/tests/org/jboss/test/profileservice/profiles/p0/beans/NamingService.java
Index: NamingService.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.test.profileservice.profiles.p0.beans;
import org.jboss.test.profileservice.profiles.p0.ifaces.INamingService;
/**
* @author Scott.Stark at jboss.org
* @version $Revision$
*/
public class NamingService
implements INamingService
{
}
More information about the jboss-cvs-commits
mailing list