|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppViewDeploymentMBean
MBean for managing ApplicationView deployment properties
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
void |
applyServiceConnectionChanges()
Apply any changes to pending connection attributes. |
void |
autoSuspend()
Internal use only. |
IApplicationViewDescriptor |
getApplicationViewDescriptor()
This attribute holds all the metadata known about the AppView and can be serialized to/from an XML document (is also Serializable). |
String |
getAppName()
Name of the J2EE application that contains the AppView this MBean represents. |
String |
getAppViewID()
Name of the ApplicationView this MBean represents (derived from appName and descriptor.getQualifiedName().toString(). |
Integer |
getAutoSuspendTimeout()
The number of seconds AI should allow an auto-suspend to last. |
Object |
getCauseOfCurrentState()
The throwable/exception or String description that caused the AppView to be in the current state (‘Deploy Failed’ and ‘Suspended’ only) or null if the AppView is in none of these states. |
Integer |
getDeployState()
Logical state of this AppView (‘Deployed’, ‘Undeployed’, ‘Deploying’, ‘Undeploying’, 'Deploy Failed', 'Suspending', ‘Suspended’, 'Resuming'). |
String |
getDescription()
Description of this AppView or null if none was given. |
String |
getEventAdapterInstanceID()
The ID of adapter instance this AppView is using for the delivery of events. |
String |
getInheritedPolicy()
A WLS policy expression inherited from the base EJB resource. |
String[] |
getPolicy()
A list of role names (defined in WLI User Management) that are allowed to use this ApplicationView (use is defined as invoking services, and subscribing for and receiving events). |
String[] |
getServerList()
The list of servers (managed server names) on which this ApplicationView is present (in some state that may be Deploying, Resuming, Undeploying, etc.). |
String |
getServiceAdapterInstanceID()
The ID of the adapter instance this AppView is using for the invocation of services. |
String |
getServiceFactoryName()
The name of the connection factory within the adapter instance given by ‘serviceAdapterInstanceID’ being used for service invocations. |
Integer |
getSuspendedEventRetryInterval()
The number of seconds a suspended event should wait before being retried. |
Integer |
getSuspendedRequestRetryInterval()
The number of seconds a suspended request should wait before being retried. |
String[] |
getTargets()
The list of targets (managed server names) on which this ApplicationView has been deployed. |
Long |
getTimeInCurrentState()
The number of milliseconds this AppView has been in its current state. |
IManageableVariableSet |
getVariableSet()
A set of environment variables for use in this ApplicationView. |
boolean |
isApplicationViewClientEnabled()
Does this AppView support remote ApplicationView clients (for remote event delivery). |
boolean |
isAutoSuspended()
Was this AppView auto-suspended. |
boolean |
isAutoSuspendEnabled()
Indicates if the auto-suspend feature is enabled for this AppView. |
boolean |
isContainerManagedSignOnEnabled()
Is the container-managed sign-on feature of ApplicationViews enabled. |
void |
redeploy()
Requests the AppView to reset itself by undeploying if needed, and then deploying. |
void |
resume()
Requests the transition of the AppView into the deployed state on all servers in the serverList attribute. |
void |
setApplicationViewClientEnabled(boolean newValue)
Set whether to deliver events to remote ApplicationView clients. |
void |
setAutoSuspendEnabled(boolean enabled)
Enable or disable the auto-suspend feature for this AppView. |
void |
setAutoSuspendTimeout(Integer timeout)
Set the number of seconds AI should allow an auto-suspend to last. |
void |
setContainerManagedSignOnEnabled(boolean newValue)
Set the whether to have the Connector container manage sign-on for new connections being used by this ApplicationView. |
void |
setEventAdapterInstanceID(String adapterID)
Set the ID of the adapter instance this AppView will use for the delivery of events. |
void |
setPolicy(String[] roles)
Set the list of role names (defined in WLI User Management) that are allowed to use this ApplicationView. |
void |
setServiceAdapterInstanceID(String adapterID)
Set the ID of the adapter instance to use for service invocations. |
void |
setServiceFactoryName(String factoryName)
Set the connection factory name (within the adapter instance returned by the getServiceAdapterInstanceID() method) that will be used for service invocations. |
void |
setSuspendedEventRetryInterval(Integer interval)
Set the number of seconds a suspended event should wait before being retried. |
void |
setSuspendedRequestRetryInterval(Integer interval)
Set the number of seconds a suspended request should wait before being retried. |
void |
setVariableSet(IManageableVariableSet variableSet)
Return the set of environment variables used by this ApplicationView, or null if none are defined. |
void |
suspend()
Requests the transition of the AppView into the suspended state on all servers in the serverList attribute. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getComments, getName, getNotes, isDefaultedMBean, isPersistenceEnabled, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, touch, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
Method Detail |
---|
Integer getDeployState()
Object getCauseOfCurrentState()
String getDescription()
String getAppViewID()
String getAppName()
IApplicationViewDescriptor getApplicationViewDescriptor()
String[] getTargets() throws javax.management.MBeanException
javax.management.MBeanException
String[] getServerList() throws javax.management.MBeanException
javax.management.MBeanException
void redeploy() throws javax.management.MBeanException
javax.management.MBeanException
void suspend() throws javax.management.MBeanException
javax.management.MBeanException
void autoSuspend() throws javax.management.MBeanException
javax.management.MBeanException
void resume() throws javax.management.MBeanException
javax.management.MBeanException
boolean isAutoSuspended() throws javax.management.MBeanException
javax.management.MBeanException
getCauseOfCurrentState()
boolean isAutoSuspendEnabled() throws javax.management.MBeanException
javax.management.MBeanException
void setAutoSuspendEnabled(boolean enabled) throws javax.management.MBeanException
enabled
- If true, auto-suspend will be enabled for this AppView.
javax.management.MBeanException
isAutoSuspendEnabled()
Integer getAutoSuspendTimeout() throws javax.management.MBeanException
javax.management.MBeanException
void setAutoSuspendTimeout(Integer timeout) throws javax.management.MBeanException
javax.management.MBeanException
getAutoSuspendTimeout()
String getEventAdapterInstanceID() throws javax.management.MBeanException
javax.management.MBeanException
void setEventAdapterInstanceID(String adapterID) throws javax.management.MBeanException
adapterID
- The ID of the adapter instance to use.
javax.management.MBeanException
getEventAdapterInstanceID()
String getServiceAdapterInstanceID() throws javax.management.MBeanException
javax.management.MBeanException
void setServiceAdapterInstanceID(String adapterID) throws javax.management.MBeanException
adapterID
- The ID of the adapter instance to use.
javax.management.MBeanException
getServiceAdapterInstanceID()
,
applyServiceConnectionChanges()
String getServiceFactoryName() throws javax.management.MBeanException
javax.management.MBeanException
applyServiceConnectionChanges()
void setServiceFactoryName(String factoryName) throws javax.management.MBeanException
javax.management.MBeanException
getServiceFactoryName()
,
applyServiceConnectionChanges()
boolean isContainerManagedSignOnEnabled() throws javax.management.MBeanException
javax.management.MBeanException
void setContainerManagedSignOnEnabled(boolean newValue) throws javax.management.MBeanException
This method enters a 'pending' attribute change for this deploy info. This change will not be persisted or take effect until you call the applyServiceConnectionChanges method.
newValue
- Pass true to enable container-managed sign-on for this
AppView, or false to disable it.
javax.management.MBeanException
boolean isApplicationViewClientEnabled() throws javax.management.MBeanException
javax.management.MBeanException
void setApplicationViewClientEnabled(boolean newValue) throws javax.management.MBeanException
newValue
- If false, the event delivery machinery in AI will not
attempt to post events to remove ApplicationView clients. This can
enhance performance of event delivery to ApplicationView control
based clients.
javax.management.MBeanException
void applyServiceConnectionChanges() throws javax.management.MBeanException
These fields require the ApplicationView EJB to be regenerated. This operation is expensive. We provide this method to allow changes to all three attributes to be 'batched' together. IMPORTANT: NONE of the changes to these attributes will take effect until this method is called. Calling this method without intervening changes to these attributes is a no-op.
javax.management.MBeanException
IManageableVariableSet getVariableSet() throws javax.management.MBeanException
javax.management.MBeanException
void setVariableSet(IManageableVariableSet variableSet) throws javax.management.MBeanException
javax.management.MBeanException
getVariableSet()
Long getTimeInCurrentState() throws javax.management.MBeanException
javax.management.MBeanException
Integer getSuspendedRequestRetryInterval() throws javax.management.MBeanException
javax.management.MBeanException
void setSuspendedRequestRetryInterval(Integer interval) throws javax.management.MBeanException
javax.management.MBeanException
getSuspendedRequestRetryInterval()
Integer getSuspendedEventRetryInterval() throws javax.management.MBeanException
javax.management.MBeanException
void setSuspendedEventRetryInterval(Integer interval) throws javax.management.MBeanException
javax.management.MBeanException
getSuspendedEventRetryInterval()
String[] getPolicy() throws javax.management.MBeanException
javax.management.MBeanException
void setPolicy(String[] roles) throws javax.management.MBeanException
javax.management.MBeanException
getPolicy()
String getInheritedPolicy() throws javax.management.MBeanException
javax.management.MBeanException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |