@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; }
propertyName = managementProperty.name(); if( propertyName.length() == 0 ) propertyName = propertyInfo.getName(); mappedName = managementProperty.mappedName(); if( mappedName.length() == 0 ) mappedName = propertyInfo.getName(); description = managementProperty.description(); if (description.equals(ManagementConstants.GENERATED)) description = propertyName; mandatory = managementProperty.mandatory(); if (mandatory) fields.setField(Fields.MANDATORY, Boolean.TRUE); readOnly = managementProperty.readOnly(); if (readOnly) fields.setField(Fields.READ_ONLY, Boolean.TRUE); managed = managementProperty.managed(); ViewUse[] use = managementProperty.use(); fields.setField(Fields.VIEW_USE, use); apolicy = managementProperty.activationPolicy(); String defaultValue = managementProperty.defaultValue(); if(defaultValue.length() > 0)
@ManagementProperty(description="the server Specification-Version", use={ViewUse.STATISTIC}) public String getSpecificationVersion() { return serverSpecificationVersion; }
/** * Get the kernel * * @return the kernel */ @ManagementProperty(ignored=true) public Kernel getKernel() { return kernel; } /**
@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; }
/** * Get the code. * * @return the code. */ @ManagementProperty(description="The service bean class") public String getCode() { return code; }
@ManagementProperty(description="The server start time") public Date getStartDate() { return startDate; }
@ManagementProperty(description="home URL which the server is running from", use={ViewUse.STATISTIC}) public URL getHomeURL() { return homeURL; }
@ManagementProperty(use={ViewUse.CONFIGURATION}, description="JMX ObjectName of the service controlled by this controller") public ObjectName getTargetName() { return this.mSingletonMBean; }
@ManagementProperty(use={ViewUse.CONFIGURATION}, description="Name of the method to invoke on the target when this node becomes the singleton master") public String getTargetStartMethod() { return this.mSingletonStartMethod; }
@ManagementProperty(use={ViewUse.CONFIGURATION}, description="Single string parameter to pass to the target's stop method when this node stops being the singleton master") public String getTargetStopMethodArgument() { return this.mSingletonStopMethodArgument ; }
@ManagementProperty(description="Whether this HAPartition should bind itself into JNDI") public boolean getBindIntoJndi() { return this.bindIntoJndi; }
/** * {@inheritDoc} */ @ManagementProperty(use={ViewUse.CONFIGURATION}, description="Name portion of the ProfileKey for the Profile we activate") public String getProfileName() { return profileName == null ? DEFAULT_PROFILE_NAME : profileName; }