org.jboss.portal.test.framework.impl.generic.agent
Class GenericTestAgent

java.lang.Object
  extended by org.jboss.portal.test.framework.impl.generic.server.GenericServiceLookup
      extended by org.jboss.portal.test.framework.impl.generic.agent.GenericTestAgent
All Implemented Interfaces:
TestAgent, ServiceLookup

public class GenericTestAgent
extends GenericServiceLookup
implements TestAgent

Version:
$Revision: 1.1 $
Author:
Julien Viet

Field Summary
 
Fields inherited from interface org.jboss.portal.test.framework.agent.TestAgent
SERVICE_ID
 
Constructor Summary
GenericTestAgent()
           
 
Method Summary
 void deploy(java.net.URL url)
           
 AuthenticationConfig getAuthenticationConfig()
           
 DeployerConfig getDeployerConfig()
           
 java.lang.Object lookupService()
          Returns a proxy for the underlying service.
 void setAuthenticationConfig(AuthenticationConfig authenticationConfig)
           
 void setDeployerConfig(DeployerConfig deployerConfig)
           
 void start()
           
 void undeploy(java.net.URL url)
           
 
Methods inherited from class org.jboss.portal.test.framework.impl.generic.server.GenericServiceLookup
stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericTestAgent

public GenericTestAgent()
Method Detail

getDeployerConfig

public DeployerConfig getDeployerConfig()

setDeployerConfig

public void setDeployerConfig(DeployerConfig deployerConfig)

getAuthenticationConfig

public AuthenticationConfig getAuthenticationConfig()

setAuthenticationConfig

public void setAuthenticationConfig(AuthenticationConfig authenticationConfig)

start

public void start()
Overrides:
start in class GenericServiceLookup

deploy

public void deploy(java.net.URL url)
            throws java.lang.Exception
Specified by:
deploy in interface TestAgent
Throws:
java.lang.Exception

undeploy

public void undeploy(java.net.URL url)
              throws java.lang.Exception
Specified by:
undeploy in interface TestAgent
Throws:
java.lang.Exception

lookupService

public java.lang.Object lookupService()
                               throws ServiceLookupFailedException
Description copied from interface: ServiceLookup
Returns a proxy for the underlying service.

Specified by:
lookupService in interface ServiceLookup
Returns:
the service proxy
Throws:
ServiceLookupFailedException