|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.jbi.init.JBIManager
public class JBIManager
Mantains the set of implementations for different JBI containers. Implements methods useful to retrive an istance of a pool an to registry new connection pools
Constructor Summary | |
---|---|
JBIManager()
|
Method Summary | |
---|---|
static void |
destroyInstance()
Deletes an istance of the connection pool for the default repository |
static void |
destroyInstance(java.lang.String name)
Destroy an istance of the connection pool for a specific repository identified by the input name |
static java.lang.String |
getDefaultContainer()
Gets the name of the default repository |
static ServiceUnitManagerProvider |
getInstance()
Retrives the istance of the connection pool for the default repository |
static ServiceUnitManagerProvider |
getInstance(java.lang.String name)
Retrives an istance of the connection pool for a specific repository identified by the inupt name |
static boolean |
isRegistered(java.lang.String name)
Checks if a pool with a given name is alrady registered |
protected static void |
registerContainer(ServiceUnitManagerProvider provider,
java.lang.String name)
Registers a new container pool |
protected static void |
setDefaultContainer(java.lang.String defaultContainer)
Sets the name of the default repository |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBIManager()
Method Detail |
---|
protected static void registerContainer(ServiceUnitManagerProvider provider, java.lang.String name) throws EMFInternalError
pool,
- the connection pool to registername,
- the name of the repository
EMFInternalError
- Thrown if an error occurs during the registrationpublic static ServiceUnitManagerProvider getInstance(java.lang.String name) throws EMFInternalError
name,
- name of the repository
EMFInternalError
- Thrown if an error occurs during the retriving operationpublic static boolean isRegistered(java.lang.String name)
name
- name of the pool
public static void destroyInstance(java.lang.String name) throws EMFInternalError
name,
- name of the repository
EMFInternalError
- Thrown if an error occurs during the deletionpublic static ServiceUnitManagerProvider getInstance() throws EMFInternalError
EMFInternalError
- Thrown if an error occurs during the retriving operationpublic static void destroyInstance() throws EMFInternalError
EMFInternalError
- Thrown if an error occurs during the deletionpublic static java.lang.String getDefaultContainer()
protected static void setDefaultContainer(java.lang.String defaultContainer)
defaultContainer,
- name to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |