/** * The connection factory jndi name. This is used to tie the pool * ManagedObject back to the ManagedConnectionFactoryDeploymentMetaData * @return */ @ManagementObjectID(type="DataSource") @ManagementProperty(use={ViewUse.RUNTIME}) public String getPoolJndiName() { return this.poolJndiName; }
@ManagementProperty(name="xa-datasource-properties", description="The xa datasource properties", managed=true, includeInTemplate=true) @ManagementPropertyFactory(XAConnectionFactoryProperty.class) public List<XAConnectionPropertyMetaData> getXADataSourceProperties() { return this.xaDataSourceProperties; }
@ManagementObject(name = "ContextMO", componentType = @ManagementComponent(type = "WAR", subtype="Context")) public static class ContextMO { @ManagementPropertyFactory(ManagedPropertyImpl.class) @ManagementProperty(use = {ViewUse.RUNTIME}, readOnly = true) public String getContextRoot() { return ""; } }
@ManagementProperty(use={ViewUse.CONFIGURATION}, description="Name of the method to invoke on the target when this node stops being the singleton master") public String getTargetStopMethod() { return this.mSingletonStopMethod; }
/** * Get the jmxInvokerName. * * @return the jmxInvokerName. */ @ManagementProperty(name="jmx-invoker-name", description="The name of the JMX invoker", includeInTemplate=true) @ManagementObjectRef(type="JMXInvoker") public String getJmxInvokerName() { return jmxInvokerName; }
/** * A XAConnectionPropertyMetaData. * * @author <a href="weston.price@jboss.org">Weston Price</a> * @version $Revision: 82920 $ */ @ManagementObject public class XAConnectionPropertyMetaData extends DataSourceConnectionPropertyMetaData { }
@ManagementProperty(description="the server Specification-Version", use={ViewUse.STATISTIC}) public String getSpecificationVersion() { return serverSpecificationVersion; }
/** * Get the object name of the MBean. * * @return the objectName. */ @ManagementProperty(description="The service JMX object name") @ManagementObjectID(type="ServiceMBean") public ObjectName getObjectName() { return objectName; }
@ManagementProperty(name="connection-properties", description="The DataSource connection properties", managed=true, includeInTemplate=true) @ManagementPropertyFactory(ConnectionFactoryProperty.class) public List<DataSourceConnectionPropertyMetaData> getDataSourceConnectionProperties() { return this.connectionProperties; }
/** * Get the kernel * * @return the kernel */ @ManagementProperty(ignored=true) public Kernel getKernel() { return kernel; } /**
/** * Get the objectName. * * @return the objectName. */ @ManagementProperty(description="The service JMX object name") @ManagementObjectID(type="ServiceMBean") public ObjectName getObjectName() { return objectName; }
@ManagementPropertyFactory(ManagedPropertyImpl.class) @ManagementProperty(use = {ViewUse.RUNTIME}, readOnly = true) public String getContextRoot() { return ""; } }
@ManagementProperty(use={ViewUse.STATISTIC}) public int getMinSize() { return poolParams.minSize; }
@ManagementProperty(name="connection-url", description="The DataSource connection URL", mandatory=true, includeInTemplate=true) public String getConnectionUrl() { return connectionUrl; }
@ManagementProperty(name="use-data-source", includeInTemplate=true) public boolean isUseDataSource() { return useDataSource; }
@ManagementProperty(name="new-connection-sql", description="The new connection SQL", includeInTemplate=true) public String getNewConnectionSQL() { return newConnectionSQL; }
@ManagementProperty(name="url-delimiter", description="The DataSource url delimiter", includeInTemplate=true) public String getURLDelimiter() { return urlDelimiter; }
/** * Get the dependsServices. * * @return the dependsServices. */ @ManagementProperty(name="services", ignored=true) public List<ServiceMetaData> getDependsServices() { return dependsServices; }
@ManagementProperty(name="xa-transaction", description="The XA/local transaction behavior flag", includeInTemplate=true, use={ViewUse.RUNTIME}, readOnly=true) public Boolean getXATransaction() { return xaTransaction; }
/** * Get the <code>code</code> attribute, i.e. the class implementing the MBean * * @return the code. */ @ManagementProperty(description="The service bean class") public String getCode() { return code; }