Skip navigation links

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


oracle.as.scheduler.management
Interface ProcessorMXBeanProxy


public interface ProcessorMXBeanProxy

Remote management endpoint for a request processor in OC4J.


Field Summary
static java.lang.String s_mbeanObjectNameString
           
static oracle.as.scheduler.management.ProtocolVersion s_protocolVersion
          The local version information for this interface
static java.lang.String s_shortName
           

 

Method Summary
 ActiveBinding[] getActiveBindings()
          Retrieves all bindings for this request processor that have an active workshift.
 int getActiveThreadCount()
          Returns the number of active threads for this request processor.
 Binding[] getBindings()
          Retrieves all bindings currently activated for this request processor.
 MetadataObjectId getDefaultWorkAssignmentId()
          Returns the metadata id of the default work assignment.
 java.util.Map<java.lang.String,java.lang.String> getDeployedApplications()
          Gets the logical and physical names of all applications that are currently deployed to this process group.
 java.lang.String[] getEnabledApplications()
          Gets the logical names of all applications that are currently enabled.
 java.util.Map<java.lang.String,java.lang.String> getEnabledApplicationsMap()
          Gets the logical and physical names of all applications that are currently enabled.
 int getJSR77State()
          Returns the JSR-77 state of this request processor.
 oracle.as.scheduler.management.ProtocolVersion getProtocolVersion()
          Returns remote version information for this interface
 int getstate()
          Returns the JSR-77 state of this request processor.
 void reloadWorkAssignments(java.util.List<MetadataObjectId> changedMetadataIds)
          Deprecated. Not supported.
 void start()
          Starts this request processor.
 void stop()
          Stops this request processor.

 

Field Detail

s_protocolVersion

static final oracle.as.scheduler.management.ProtocolVersion s_protocolVersion
The local version information for this interface

s_shortName

static final java.lang.String s_shortName
See Also:
Constant Field Values

s_mbeanObjectNameString

static final java.lang.String s_mbeanObjectNameString

Method Detail

getProtocolVersion

oracle.as.scheduler.management.ProtocolVersion getProtocolVersion()
                                                                  throws java.io.IOException
Returns remote version information for this interface
Returns:
remote version information for this interface
Throws:
java.io.IOException - if a protocol error occurs

getJSR77State

int getJSR77State()
                  throws java.io.IOException
Returns the JSR-77 state of this request processor.
Returns:
the state.
Throws:
java.io.IOException - if a protocol error occurred.

getActiveThreadCount

int getActiveThreadCount()
                         throws java.io.IOException,
                                java.lang.IllegalStateException
Returns the number of active threads for this request processor. This value represents the number of threads currently performing request processing.
Returns:
active thread count.
Throws:
java.io.IOException - if a protocol error occurred.
java.lang.IllegalStateException - if the processor is not active.

getEnabledApplications

java.lang.String[] getEnabledApplications()
                                          throws java.lang.IllegalStateException
Gets the logical names of all applications that are currently enabled.
Returns:
list of all applications that are enabled and currently active.
Throws:
java.io.IOException - if a protocol error occurred.
java.lang.IllegalStateException - if the processor is not active.

getEnabledApplicationsMap

java.util.Map<java.lang.String,java.lang.String> getEnabledApplicationsMap()
                                                                           throws java.lang.IllegalStateException
Gets the logical and physical names of all applications that are currently enabled.
Returns:
Map of all applications that are enabled and currently active. The keys for this map are the logical names and the corresponding values are the physical (J2EE deployed) names of the applications
Throws:
java.io.IOException - if a protocol error occurred.
java.lang.IllegalStateException - if the processor is not active.

getDeployedApplications

java.util.Map<java.lang.String,java.lang.String> getDeployedApplications()
                                                                         throws java.lang.IllegalStateException
Gets the logical and physical names of all applications that are currently deployed to this process group.
Returns:
Map of all applications that are deployed to this process group. The keys for this map are the logical names and the corresponding values are the physical (J2EE deployed) names of the applications
Throws:
java.io.IOException - if a protocol error occurred.
java.lang.IllegalStateException - if the processor is not active.

getBindings

Binding[] getBindings()
                      throws java.io.IOException
Retrieves all bindings currently activated for this request processor.
Returns:
bindings for this request processor. For each binding the work assignment, mode and group (if applicable) will be provided.
Throws:
java.io.IOException - if a protocol error occurred.

getActiveBindings

ActiveBinding[] getActiveBindings()
                                  throws java.io.IOException
Retrieves all bindings for this request processor that have an active workshift.
Returns:
active bindings for this request processor.
Throws:
java.io.IOException - if a protocol error occurred.

start

void start()
           throws java.io.IOException,
                  java.lang.IllegalStateException
Starts this request processor.
Throws:
java.io.IOException - if a protocol error occurred.
java.lang.IllegalStateException - if the state is not stopped.

stop

void stop()
          throws java.io.IOException,
                 java.lang.IllegalStateException
Stops this request processor.
Throws:
java.io.IOException - if a protocol error occurred.
java.lang.IllegalStateException - if the state is not started.

reloadWorkAssignments

@Deprecated
void reloadWorkAssignments(java.util.List<MetadataObjectId> changedMetadataIds)
                           throws java.io.IOException,
                                  java.lang.IllegalStateException
Deprecated. Not supported.
Throws:
java.io.IOException
java.lang.IllegalStateException

getDefaultWorkAssignmentId

MetadataObjectId getDefaultWorkAssignmentId()
                                            throws java.io.IOException
Returns the metadata id of the default work assignment.
Returns:
default work assignment id
Throws:
java.io.IOException - if a protocol error occurred.

getstate

int getstate()
             throws java.io.IOException
Returns the JSR-77 state of this request processor.
Returns:
the state.
Throws:
java.io.IOException - if a protocol error occurred.

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.