| |
|
| java.lang.Object org.jboss.test.jmx.ejb.TestDataSourceBean
TestDataSourceBean | public class TestDataSourceBean implements SessionBean(Code) | | This is a session bean whose only purpose is to look for and test datasources. It is an example of how to use the EJBDoclet tags.
|
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public void ejbCreate() throws CreateException(Code) | | Create.
|
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove()(Code) | | Remove
|
isBound | public boolean isBound(String name)(Code) | | The isBound method checks to see if the supplied name is bound in jndi.
Parameters: name - a String value a boolean value |
setSessionContext | public void setSessionContext(SessionContext ctx)(Code) | | |
testDataSource | public void testDataSource(String dsName)(Code) | | The testDataSource method looks for the datasource at the supplied name
and tests if it can supply a working connection.
Parameters: dsName - a String value |
|
|
|