com.bea.wlai.management.deployment
Interface AIConfigurationMBean

All Superinterfaces:
weblogic.management.configuration.ConfigurationMBean, weblogic.descriptor.DescriptorBean, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, weblogic.descriptor.SettableBean, weblogic.management.WebLogicMBean

public interface AIConfigurationMBean
extends weblogic.management.configuration.ConfigurationMBean

MBean for managing AI engine properties


Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 void activateConnector(String serverName, String id, String dd, boolean returnImmediately)
          Request the activation of a ConnectionFactory deployment by the admin server on the given server.
 boolean appHasPendingAppViewDeployments(String appName)
          Check to see if there are any pending ApplicationView deployments for the given application name.
 boolean appHasPendingAppViewUndeployments(String appName)
          Check to see if there are any pending ApplicationView undeployments for the given application name.
 void completelyRemoveConnector(String serverName, String id, boolean returnImmediately)
          Request the removal of a ConnectionFactory deployment by the admin server on the given server.
 void deactivateConnector(String serverName, String id, boolean returnImmediately)
          Request the deactivation of a ConnectionFactory deployment by the admin server on the given server.
 String getJMSConnectionFactoryJNDIName()
          Get the JNDI name of the JMS connection factory being used by AI for creating connections to JMS queues and topics.
 String getRepositoryRootDirectory()
          Get the default repository root directory for the AI engine.
 boolean isAsyncServiceTracingEnabled()
          Indicates if tracing of async services is enabled for the AI engine.
 boolean isDebugEnabled()
          Indicates if debug is enabled for the AI engine.
 String registerAdapterGlobalMBeans(String id, IAdapterDescriptor avd)
          Request the creation of the domain-wide mbean of the given type and with the given ID.
 String registerAppViewGlobalMBeans(String id, IApplicationViewDescriptor avd)
          Request the creation of the domain-wide mbean of the given type and with the given ID.
 void setAsyncServiceTracingEnabled(boolean enabled)
          Set the tracing of async services on/off for the AI engine.
 void setDebugEnabled(boolean enabled)
          Set the debugging on/off for the AI engine.
 void setJMSConnectionFactoryJNDIName(String jndiName)
          Set the JNDI name of the JMS connection factory AI should use for creating connections to JMS queues and topics.
 void setRepositoryRootDirectory(String dir)
          Set the default repository root directory for the AI engine.
 
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

getJMSConnectionFactoryJNDIName

String getJMSConnectionFactoryJNDIName()
                                       throws weblogic.management.ManagementException
Get the JNDI name of the JMS connection factory being used by AI for creating connections to JMS queues and topics.

Throws:
weblogic.management.ManagementException

setJMSConnectionFactoryJNDIName

void setJMSConnectionFactoryJNDIName(String jndiName)
                                     throws weblogic.management.ManagementException
Set the JNDI name of the JMS connection factory AI should use for creating connections to JMS queues and topics.

Throws:
weblogic.management.ManagementException

setDebugEnabled

void setDebugEnabled(boolean enabled)
                     throws weblogic.management.ManagementException
Set the debugging on/off for the AI engine.

Throws:
weblogic.management.ManagementException

isDebugEnabled

boolean isDebugEnabled()
                       throws weblogic.management.ManagementException
Indicates if debug is enabled for the AI engine.

Throws:
weblogic.management.ManagementException

setAsyncServiceTracingEnabled

void setAsyncServiceTracingEnabled(boolean enabled)
                                   throws weblogic.management.ManagementException
Set the tracing of async services on/off for the AI engine.

Throws:
weblogic.management.ManagementException

isAsyncServiceTracingEnabled

boolean isAsyncServiceTracingEnabled()
                                     throws weblogic.management.ManagementException
Indicates if tracing of async services is enabled for the AI engine.

Throws:
weblogic.management.ManagementException

setRepositoryRootDirectory

void setRepositoryRootDirectory(String dir)
                                throws weblogic.management.ManagementException
Set the default repository root directory for the AI engine. This holds design-time artifacts such as ApplicationView descriptors, Adapter descriptors and schemas. This directory resides on the admin server.

Throws:
weblogic.management.ManagementException

getRepositoryRootDirectory

String getRepositoryRootDirectory()
                                  throws weblogic.management.ManagementException
Get the default repository root directory for the AI engine. This directory resides on the admin server.

Throws:
weblogic.management.ManagementException

appHasPendingAppViewDeployments

boolean appHasPendingAppViewDeployments(String appName)
                                        throws javax.management.MBeanException
Check to see if there are any pending ApplicationView deployments for the given application name. This method is useful to force clients to wait for an application redeployment operation to fully complete (ApplicationView deployments can still be in progress when the containing application's deployment task completes).

Throws:
javax.management.MBeanException

appHasPendingAppViewUndeployments

boolean appHasPendingAppViewUndeployments(String appName)
                                          throws javax.management.MBeanException
Check to see if there are any pending ApplicationView undeployments for the given application name. This method is useful to force clients to wait for an application redeployment operation to fully complete (ApplicationView deployments can still be in progress when the containing application's deployment task completes).

Throws:
javax.management.MBeanException

registerAppViewGlobalMBeans

String registerAppViewGlobalMBeans(String id,
                                   IApplicationViewDescriptor avd)
                                   throws javax.management.MBeanException
Request the creation of the domain-wide mbean of the given type and with the given ID. Callers should poll the MBean server for the requested MBean following this call if the returned MBean is null. If the MBean already exists, this method is a no-op.

Throws:
javax.management.MBeanException

registerAdapterGlobalMBeans

String registerAdapterGlobalMBeans(String id,
                                   IAdapterDescriptor avd)
                                   throws javax.management.MBeanException
Request the creation of the domain-wide mbean of the given type and with the given ID. Callers should poll the MBean server for the requested MBean following this call if the returned MBean is null. If the MBean already exists, this method is a no-op.

Throws:
javax.management.MBeanException

activateConnector

void activateConnector(String serverName,
                       String id,
                       String dd,
                       boolean returnImmediately)
                       throws javax.management.MBeanException
Request the activation of a ConnectionFactory deployment by the admin server on the given server. This request will be handled in serial fashion with all other activation requests. This method will block, however, until the request has been completed.

Throws:
javax.management.MBeanException

deactivateConnector

void deactivateConnector(String serverName,
                         String id,
                         boolean returnImmediately)
                         throws javax.management.MBeanException
Request the deactivation of a ConnectionFactory deployment by the admin server on the given server. This request will be handled in serial fashion with all other removal requests. This method will block, however, until the request has been completed.

Throws:
javax.management.MBeanException

completelyRemoveConnector

void completelyRemoveConnector(String serverName,
                               String id,
                               boolean returnImmediately)
                               throws javax.management.MBeanException
Request the removal of a ConnectionFactory deployment by the admin server on the given server. This request will be handled in serial fashion with all other removal requests. This method will block, however, until the request has been completed. If there are no more targets left on this Connector after the request is handled, the deployment is completely removed.

Throws:
javax.management.MBeanException