|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlai.client.ApplicationViewManager
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.
Constructor Summary | |
ApplicationViewManager(java.util.Hashtable props)
Create a new ApplicationViewManager using a new InitialContext obtained using the given Hashtable of properties. |
|
ApplicationViewManager(javax.naming.InitialContext context)
Create a new ApplicationViewManager using the given InitialContext. |
Method Summary | |
IApplicationViewDescriptor |
addApplicationView(INamespace parent,
java.lang.String appViewName)
Creates an application view 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 application view represented by the given descriptor into the WLAI engine. |
boolean |
exists(QualifiedName aQualifiedName)
Determine whether the application view represented by a qualified name exists in the repository. |
AdapterInfo |
getAdapterInfoForApplicationView(QualifiedName name)
Returns information about the adapter associated with an application view with the given name. |
IApplicationViewDescriptor |
getApplicationView(QualifiedName name)
Gets the application view with the given qualified name and returns a descriptor for it. |
ApplicationView |
getApplicationViewInstance(QualifiedName name)
Create a new instance of the application view with the given qualified name. |
boolean |
isApplicationViewDeployed(QualifiedName name)
Indicates whether an application view with the given qualified name has been deployed within the WLAI engine. |
IApplicationViewDescriptor |
removeApplicationView(QualifiedName name)
Removes the application view 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 application view represented by the given QualifiedName from the WLAI engine. |
void |
updateApplicationView(IApplicationViewDescriptor appView)
Updates the given ApplicationViewDescriptor within the WLAI repository. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ApplicationViewManager(java.util.Hashtable props) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
public ApplicationViewManager(javax.naming.InitialContext context) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
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 application view will be
added.appViewName
- The name to be given to the new application view.public IApplicationViewDescriptor removeApplicationView(QualifiedName name) throws NamespaceException, ApplicationViewException, java.rmi.RemoteException
name
- The qualified name for the application view to remove.public void updateApplicationView(IApplicationViewDescriptor appView) throws ApplicationViewException, java.rmi.RemoteException
appView
- The ApplicationViewDescriptor representing the
application view to be updated.public IApplicationViewDescriptor getApplicationView(QualifiedName name) throws NamespaceException, ApplicationViewException, java.rmi.RemoteException
name
- The qualified name for the application view to retrieved.public boolean exists(QualifiedName aQualifiedName) throws ApplicationViewException, java.rmi.RemoteException
aQualifiedName
- - the qualified name of the application view to
find in the repository.public void deployApplicationView(IApplicationViewDescriptor appView, boolean allowRebind, boolean persistent) throws DeploymentException, NamespaceException, java.rmi.RemoteException
appView
- The descriptor for the application view 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 application view 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 ApplicationView getApplicationViewInstance(QualifiedName name) throws NamespaceException, ApplicationViewException, javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
name
- The qualified name of the application view to retrieve an
application view instance for.public boolean isApplicationViewDeployed(QualifiedName name) throws DeploymentException, NamespaceException, java.rmi.RemoteException
name
- The name of the application view to check for.public AdapterInfo getAdapterInfoForApplicationView(QualifiedName name) throws NamespaceException, ApplicationViewException, java.rmi.RemoteException
name
- The qualified name of the application view 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 |