Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


oracle.as.scheduler.management
Class AppRegistrationInfo

java.lang.Object
  extended by oracle.as.scheduler.management.AppRegistrationInfo


public final class AppRegistrationInfo
extends java.lang.Object
Since:
Registration information associated with an Enterprise Scheduler Service hosting application.
Version:
$Header: ess/src/oracle/as/scheduler/management/AppRegistrationInfo.java /st_ess_11.1.1.5.0pt/1 2012/07/09 15:47:37 ddavison Exp $
Author:
kbittler

Constructor Summary
AppRegistrationInfo(java.lang.String logicalName, java.lang.String deployName, java.lang.String server, java.lang.String processGroup, java.lang.String appVersion, boolean active)
          Constructs an AppRegistrationInfo object.
AppRegistrationInfo(java.lang.String logicalName, java.lang.String deployName, java.lang.String server, java.lang.String processGroup, java.lang.String appVersion, boolean active, java.util.Calendar lastActivated)
          Constructs an AppRegistrationInfo object.

 

Method Summary
static AppRegistrationInfo from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance
 java.lang.String getAppVersion()
          Retrieve the application version information
 java.lang.String getDeployName()
          Retrieve the J2EE deployment name of the application
 java.util.Calendar getLastActivated()
          Get when the application was last activated, or null if not known.
 java.lang.String getLogicalName()
          Retrieve the logical name of the application
 java.lang.String getProcessGroup()
          Retrieve the ESS process group of the server this application is registered to.
 java.lang.String getServer()
          Retrieve the name of the server this application is registered to.
 boolean isActive()
          Is the application endpoint active in the server this registration is for?
 javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
          Convert an instance of this model specific type to a CompositeData.
static javax.management.openmbean.CompositeType toCompositeType()
          Returns the CompositeType that describes this model specific class
 java.lang.String toDiagnosticString()
          Creates a String representation of this object to aid diagnosis.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AppRegistrationInfo

@ConstructorProperties(value={"logicalName","deployName","server","processGroup","appVersion","active"})
public AppRegistrationInfo(java.lang.String logicalName,
                                                 java.lang.String deployName,
                                                 java.lang.String server,
                                                 java.lang.String processGroup,
                                                 java.lang.String appVersion,
                                                 boolean active)
Constructs an AppRegistrationInfo object.
Parameters:
logicalName - the ESS logical name of the application
deployName - the J2EE deployment name of the application
server - the name of the server this application instance is registered to
processGroup - the name of the process group or cluster this application instance is registered to
appVersion - the application version
active - if true, the application endpoint is activated on the server this registration is for.

AppRegistrationInfo

@ConstructorProperties(value={"logicalName","deployName","server","processGroup","appVersion","active","lastActivated"})
public AppRegistrationInfo(java.lang.String logicalName,
                                                 java.lang.String deployName,
                                                 java.lang.String server,
                                                 java.lang.String processGroup,
                                                 java.lang.String appVersion,
                                                 boolean active,
                                                 java.util.Calendar lastActivated)
Constructs an AppRegistrationInfo object.
Parameters:
logicalName - the ESS logical name of the application
deployName - the J2EE deployment name of the application
server - the name of the server this application instance is registered to
processGroup - the name of the process group or cluster this application instance is registered to
appVersion - the application version
active - if true, the application endpoint is activated on the server this registration is for.
lastActivated - when the app was last activated

Method Detail

getLogicalName

public java.lang.String getLogicalName()
Retrieve the logical name of the application
Returns:
the logical name of the application

getDeployName

public java.lang.String getDeployName()
Retrieve the J2EE deployment name of the application
Returns:
the J2EE deployment name of the application

getServer

public java.lang.String getServer()
Retrieve the name of the server this application is registered to.
Returns:
the server name

getProcessGroup

public java.lang.String getProcessGroup()
Retrieve the ESS process group of the server this application is registered to.
Returns:
the ESS process group

getAppVersion

public java.lang.String getAppVersion()
Retrieve the application version information
Returns:
the application version

isActive

public boolean isActive()
Is the application endpoint active in the server this registration is for?
Returns:
if true, the application endpoint is activated on the server, false otherwise.

getLastActivated

public java.util.Calendar getLastActivated()
Get when the application was last activated, or null if not known.
Returns:
date last activated.

toCompositeType

public static javax.management.openmbean.CompositeType toCompositeType()
Returns the CompositeType that describes this model specific class

toCompositeData

public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to a CompositeData. This ensure that clients that do not have access to the model specific class can still use the MBean. The MXBean framework can perform this conversion automatically. However MXBeans are part of JDK 6.0 and AS11g is required to support JDK 5.0
Parameters:
ct - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.

from

public static AppRegistrationInfo from(javax.management.openmbean.CompositeData cd)
                                throws java.lang.IllegalArgumentException
Create an instance of the model specific class out of an associated CompositeData instance
Throws:
java.lang.IllegalArgumentException

toDiagnosticString

public java.lang.String toDiagnosticString()
Creates a String representation of this object to aid diagnosis. This is used in ESS DFW diagnostic dumps.

Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.