User: starksm
Date: 01/09/18 01:23:25
Modified: src/main/org/jboss/test JBossTestServices.java
Log:
Use single deploy/undeploy of the security-spec.jar
Revision Changes Path
1.2 +8 -5 jbosstest/src/main/org/jboss/test/JBossTestServices.java
Index: JBossTestServices.java
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/JBossTestServices.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JBossTestServices.java 2001/09/17 17:33:52 1.1
+++ JBossTestServices.java 2001/09/18 08:23:25 1.2
@@ -41,7 +41,7 @@
* ../lib).
*
* @author <a href="[EMAIL PROTECTED]">David Jencks</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class JBossTestServices
{
@@ -68,6 +68,7 @@
public JBossTestServices(String className)
{
log = Category.getInstance(className);
+ log.debug("JBossTestServices(), className="+className);
}
// Public --------------------------------------------------------
@@ -78,7 +79,7 @@
*
* @exception Exception Description of Exception
*/
- void setUp() throws Exception
+ public void setUp() throws Exception
{
String serverName = System.getProperty("jbosstest.server.name");
if (serverName == null)
@@ -87,6 +88,7 @@
}
initialContext = new InitialContext();
server = (RMIConnector)getInitialContext().lookup("jmx:" + serverName +
":rmi");
+ log.debug("JBossTestServices.setUp()");
}
/**
@@ -94,9 +96,10 @@
*
* @exception Exception Description of Exception
*/
- void tearDown() throws Exception
+ public void tearDown() throws Exception
{
server = null;
+ log.debug("JBossTestServices.tearDown()");
}
@@ -258,7 +261,7 @@
* @param name filename/url of package to deploy.
* @exception Exception Description of Exception
*/
- void deployJ2ee(String name) throws Exception
+ public void deployJ2ee(String name) throws Exception
{
String deployName = getDeployURL(name);
invoke(getJ2eeDeployerName(),
@@ -275,7 +278,7 @@
* @param name filename/url of package to undeploy.
* @exception Exception Description of Exception
*/
- void undeployJ2ee(String name) throws Exception
+ public void undeployJ2ee(String name) throws Exception
{
String deployName = getDeployURL(name);
invoke(getJ2eeDeployerName(),
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development