|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean for managing ApplicationView deployment properties
Field Summary |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
void |
applyServiceConnectionChanges()
Apply any changes to pending connection attributes. |
void |
autoSuspend()
Internal use only. |
Boolean |
getApplicationViewClientEnabled()
Does this AppView support remote ApplicationView clients (for remote event delivery). |
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(). |
Boolean |
getAutoSuspendEnabled()
Indicates if the auto-suspend feature is enabled for this AppView. |
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. |
Boolean |
getContainerManagedSignOnEnabled()
Is the container-managed sign-on feature of ApplicationViews enabled. |
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. |
IApplicationViewDescriptor |
getDescriptor()
This attribute holds all the metadata known about the AppView and can be serialized to/from an XML document (is also Serializable). |
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. |
com.bea.connector.IManageableVariableSet |
getVariableSet()
A set of environment variables for use in this ApplicationView. |
boolean |
isAutoSuspended()
Was this AppView auto-suspended. |
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(com.bea.connector.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, getAttributeStringValue, getComments, getNotes, getSetFields, getXml, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
public Integer getDeployState()
public Object getCauseOfCurrentState()
public String getDescription()
public String getAppViewID()
public String getAppName()
public IApplicationViewDescriptor getDescriptor()
public String[] getTargets()
public String[] getServerList()
public void redeploy()
public void suspend()
public void autoSuspend()
public void resume()
public boolean isAutoSuspended()
getCauseOfCurrentState()
public Boolean getAutoSuspendEnabled()
public void setAutoSuspendEnabled(Boolean enabled)
enabled
- If true, auto-suspend will be enabled for this AppView.getAutoSuspendEnabled()
public Integer getAutoSuspendTimeout()
public void setAutoSuspendTimeout(Integer timeout)
getAutoSuspendTimeout()
public String getEventAdapterInstanceID()
public void setEventAdapterInstanceID(String adapterID)
adapterID
- The ID of the adapter instance to use.getEventAdapterInstanceID()
public String getServiceAdapterInstanceID()
public void setServiceAdapterInstanceID(String adapterID)
adapterID
- The ID of the adapter instance to use.getServiceAdapterInstanceID()
,
applyServiceConnectionChanges()
public String getServiceFactoryName()
applyServiceConnectionChanges()
public void setServiceFactoryName(String factoryName)
getServiceFactoryName()
,
applyServiceConnectionChanges()
public Boolean getContainerManagedSignOnEnabled()
public void setContainerManagedSignOnEnabled(Boolean newValue)
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.public Boolean getApplicationViewClientEnabled()
public void setApplicationViewClientEnabled(Boolean newValue)
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.public void applyServiceConnectionChanges()
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.
public com.bea.connector.IManageableVariableSet getVariableSet()
public void setVariableSet(com.bea.connector.IManageableVariableSet variableSet)
getVariableSet()
public Long getTimeInCurrentState()
public Integer getSuspendedRequestRetryInterval()
public void setSuspendedRequestRetryInterval(Integer interval)
getSuspendedRequestRetryInterval()
public Integer getSuspendedEventRetryInterval()
public void setSuspendedEventRetryInterval(Integer interval)
getSuspendedEventRetryInterval()
public String[] getPolicy()
public void setPolicy(String[] roles)
getPolicy()
public String getInheritedPolicy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |