|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manages access to ConnectionFactories. This class handles adding, removing, and getting ConnectionFactories in a given Namespace. This class also offers facilities to deploy and undeploy ConnectionFactories, get an instance of a ConnectionFactory, and to check if an ConnectionFactory is deployed.
Method Summary | |
IConnectionFactoryDescriptor |
addConnectionFactory(INamespace parent,
java.lang.String factoryName)
Creates an ConnectionFactory with the given name, adds it to the given parent namespace, and returns a descriptor for it. |
void |
deployConnectionFactory(IConnectionFactoryDescriptor factory)
Deploy the ConnectionFactory represented by the given descriptor into the WLAI engine. |
boolean |
exists(QualifiedName aQualifiedName)
Determine whether the connection factory descriptor represented by a qualified name exists in the repository. |
IConnectionFactoryDescriptor |
getConnectionFactory(QualifiedName name)
Gets the ConnectionFactory with the given qualified name and returns a descriptor for it. |
java.lang.String[] |
getConnectionFactoryReferences(java.lang.String connectionJNDIName)
returns an array of strings containing the names of Application views which have a reference to the named connection factory. |
boolean |
hasConnections(ConnectionInfo filter)
Returns true if there are deployed connection factories matching the passed filter param. |
boolean |
isConnectionFactoryDeployed(QualifiedName qualifiedName)
Indicates whether an ConnectionFactory with the given qualified name has been deployed within the WLAI engine. |
ConnectionInfo[] |
listDeployedConnections(ConnectionInfo filter)
List the deployed connection factories in the system. |
IConnectionFactoryDescriptor |
removeConnectionFactory(QualifiedName name)
Removes the ConnectionFactory with the given qualified name from its parent namespace, and returns a descriptor for it. |
IConnectionFactoryDescriptor |
undeployConnectionFactory(QualifiedName name)
Undeploy the ConnectionFactory represented by the given QualifiedName from the WLAI engine. |
void |
updateConnectionFactory(IConnectionFactoryDescriptor factory)
Updates the given ConnectionFactoryDescriptor within the WLAI repository. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public IConnectionFactoryDescriptor addConnectionFactory(INamespace parent, java.lang.String factoryName) throws DuplicateNameException, NamespaceException, ConnectionFactoryException, java.rmi.RemoteException
parent
- The namespace to which the new ConnectionFactory will be
added.factoryName
- The name to be given to the new ConnectionFactory.public IConnectionFactoryDescriptor removeConnectionFactory(QualifiedName name) throws NamespaceException, ConnectionFactoryException, java.rmi.RemoteException
name
- The qualified name for the ConnectionFactory to remove.public void updateConnectionFactory(IConnectionFactoryDescriptor factory) throws ConnectionFactoryException, java.rmi.RemoteException
factory
- The ConnectionFactoryDescriptor representing the
ConnectionFactory to be updated.public IConnectionFactoryDescriptor getConnectionFactory(QualifiedName name) throws NamespaceException, ConnectionFactoryException, java.rmi.RemoteException
name
- The qualified name for the ConnectionFactory to retrieved.public boolean exists(QualifiedName aQualifiedName) throws ConnectionFactoryException, java.rmi.RemoteException
aQualifiedName
- - the qualified name of the connection factory
descriptor to find in the repository.public void deployConnectionFactory(IConnectionFactoryDescriptor factory) throws DeploymentException, ConnectionFactoryException, java.rmi.RemoteException
factory
- The descriptor for the ConnectionFactory to be deployed.public IConnectionFactoryDescriptor undeployConnectionFactory(QualifiedName name) throws DeploymentException, NamespaceException, ConnectionFactoryException, java.rmi.RemoteException
name
- The qualified name of the ConnectionFactory to be undeployed.public boolean isConnectionFactoryDeployed(QualifiedName qualifiedName) throws DeploymentException, NamespaceException, java.rmi.RemoteException
name
- The name of the ConnectionFactory to check for.public java.lang.String[] getConnectionFactoryReferences(java.lang.String connectionJNDIName) throws DeploymentException, java.rmi.RemoteException
public boolean hasConnections(ConnectionInfo filter) throws DeploymentException, java.rmi.RemoteException
filter
- -- criteria to match when searching for connection factories
cannot be null.public ConnectionInfo[] listDeployedConnections(ConnectionInfo filter) throws DeploymentException, java.rmi.RemoteException
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |