|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jmscts.provider.ProviderLoader
Loads a Provider
using its configuration
Provider
Constructor Summary | |
ProviderLoader()
Construct a new ProviderLoader |
Method Summary | |
Provider |
createProvider()
Create a new provider. |
java.lang.String |
getClassName()
Returns the provider implementation class name |
java.lang.String |
getName()
Returns the provider name |
Paths |
getPaths()
Returns the classpath for the provider |
Provider |
getProvider()
Returns the provider |
boolean |
getStart()
Determines if the provider should be started prior to running tests |
boolean |
getStop()
Determines if the provider should be stopped after running tests |
void |
setClassName(java.lang.String className)
Sets the provider implementation class name |
void |
setName(java.lang.String name)
Sets the provider name |
void |
setPaths(Paths paths)
Sets the classpath for the provider |
void |
setProvider(Provider provider)
Set the provider |
void |
setStart(boolean start)
Sets if the provider should be started prior to running tests |
void |
setStop(boolean stop)
Sets if the provider should be stopped after running tests |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProviderLoader()
ProviderLoader
Method Detail |
public void setName(java.lang.String name)
name
- the provider namepublic java.lang.String getName()
public void setClassName(java.lang.String className)
className
- the provider implementation class namepublic java.lang.String getClassName()
public void setStart(boolean start)
start
- if true
, start the providerpublic boolean getStart()
true
if the provider should be startedpublic void setStop(boolean stop)
stop
- if true
, stop the providerpublic boolean getStop()
true
if the provider should be stoppedpublic void setPaths(Paths paths)
paths
- the classpathpublic Paths getPaths()
public void setProvider(Provider provider)
provider
- the providerpublic Provider getProvider()
public Provider createProvider() throws java.lang.Exception
getClassName()
, using the classpath specified by
getPaths()
java.lang.Exception
- if the provider can't be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |