|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manages access to ApplicationViews. This class handles adding, removing, and getting ApplicationViews in a given Namespace. This class also offers facilities to deploy and undeploy ApplicationViews, get an instance of an ApplicationView, and to check if an ApplicationView is deployed.
Method Summary | |
IApplicationViewDescriptor |
addApplicationView(INamespace parent,
java.lang.String appViewName)
Creates an ApplicationView with the given name, adds it to the given parent namespace, and returns a descriptor for it. |
void |
deployApplicationView(IApplicationViewDescriptor appView,
boolean allowRebind,
boolean persistent)
Deploy the ApplicationView represented by the given descriptor into the WLAI engine. |
boolean |
exists(QualifiedName name)
Determines whether an Application View with the given qualified name exists in the repository. |
AdapterInfo |
getAdapterInfoForApplicationView(QualifiedName name)
Returns information about the adapter associated with an ApplicationView with the given name. |
IApplicationViewDescriptor |
getApplicationView(QualifiedName name)
Gets the ApplicationView with the given qualified name and returns a descriptor for it. |
boolean |
isApplicationViewDeployed(QualifiedName qualifiedName)
Indicates whether an ApplicationView with the given qualified name has been deployed within the WLAI engine. |
IApplicationViewDescriptor |
removeApplicationView(QualifiedName name)
Removes the ApplicationView with the given qualified name from its parent namespace, and returns a descriptor for it. |
IApplicationViewDescriptor |
undeployApplicationView(QualifiedName name,
boolean force,
boolean persistent)
Undeploy the ApplicationView represented by the given QualifiedName from the WLAI engine. |
void |
updateApplicationView(IApplicationViewDescriptor appView)
Updates the given ApplicationViewDescriptor within the WLAI repository. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public IApplicationViewDescriptor addApplicationView(INamespace parent, java.lang.String appViewName) throws DuplicateNameException, NamespaceException, ApplicationViewException, java.rmi.RemoteException
parent
- The namespace to which the new ApplicationView will be
added.appViewName
- The name to be given to the new ApplicationView.public IApplicationViewDescriptor removeApplicationView(QualifiedName name) throws NamespaceException, ApplicationViewException, java.rmi.RemoteException
name
- The qualified name for the ApplicationView to remove.public void updateApplicationView(IApplicationViewDescriptor appView) throws ApplicationViewException, java.rmi.RemoteException
appView
- The ApplicationViewDescriptor representing the
ApplicationView to be updated.public IApplicationViewDescriptor getApplicationView(QualifiedName name) throws NamespaceException, ApplicationViewException, java.rmi.RemoteException
name
- The qualified name for the ApplicationView to retrieved.public boolean exists(QualifiedName name) throws ApplicationViewException, java.rmi.RemoteException
name
- The qualified name for the Application View.public void deployApplicationView(IApplicationViewDescriptor appView, boolean allowRebind, boolean persistent) throws DeploymentException, NamespaceException, java.rmi.RemoteException
appView
- The descriptor for the ApplicationView to be deployed.allowRebind
- If true, existing deployments using the same JNDI name
may be overwritten with this deployment. Otherwise, an exception is
thrown if the JNDI name is already in use.persistent
- Indicates whether the server should treat this deployment as an
ongoing startup deployment the next time the server starts. If
false, this deployment only exists for the life of the server.public IApplicationViewDescriptor undeployApplicationView(QualifiedName name, boolean force, boolean persistent) throws DeploymentException, NamespaceException, java.rmi.RemoteException
name
- The qualified name of the ApplicationView to be undeployed.force
- If true, this application view will be undeployed regardless
of whether any user is currently using it or not.persistent
- Indicates whether the server should remove this
deployment from the ongoing startup deployments. If false, and
this deployment is persistent, the application view will be
removed from the current runtime deployments, but will still be
deployed on startup the next time the server starts.
If true, this deployment is removed from the current runtime
deployments AND is removed from the ongoing startup deployments.public boolean isApplicationViewDeployed(QualifiedName qualifiedName) throws DeploymentException, NamespaceException, java.rmi.RemoteException
name
- The name of the ApplicationView to check for.public AdapterInfo getAdapterInfoForApplicationView(QualifiedName name) throws NamespaceException, ApplicationViewException, java.rmi.RemoteException
name
- The qualified name of the ApplicationView for which adapter
info is to be returned.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |