semi合集-English.pdf - 第2720页
SEMI E97-0200A © SEMI 2000 40 void makeRegistered (in MESFactory aFactory) raises (Global::FrameworkErrorSignal, Global::InvalidStateTransitionSignal); /* This operation causes the co m ponent to remove its registration …

SEMI E97-0200A © SEMI 200039
}; // Area
Contracted Services: None.
Dynamic Model: None.
6.7.5 Component Manager Interface
Module: FactoryOperations
Interface: ComponentManager
Inherited Interface: Resource
Description: The ComponentManager is an abstract interface that supports the registration and control
(enabling/disabling) of a component’s interface and for managing the resources in its
domain.
Exceptions: None.
Published Events:
interface ComponentManager : Resource {
/* Component Manager state has changed */
const string ComponentManagerStateChangedSubject =
“/Factory/ComponentManager/ComponentManagerStateChanged”;
/* This enumerated type identifies the states of Component Managers. It is used in event notifications of state
changes. */
enum ComponentManagerState {
ComponentManagerUndefined,
ComponentManagerStopped,
ComponentManagerStartingUp,
ComponentManagerShuttingDown };
struct ComponentManagerStateChangedFilters {
Global::Property name;
Global::Property previousState;
Global::Property newState;
};
ComponentManagerStateChangedFilters Properties:
Name Value Type Description
“Name” string The name of the ComponentManager.
“PreviousState” ComponentManagerState Previous state prior to the most recent transition.
“NewState” ComponentManagerState New state following the most recent transition.
struct ComponentManagerStateChangedEvent {
string eventSubject;
Global::TimeStamp eventTimeStamp;
ComponentManagerStateChangedFilters eventFilterData;
Global::Properties eventNews;
ComponentManager aComponentManager;
};
Provided Services:
/* This operation causes the component to do its portion of the registration interchange with the factory indicated by
the argument. */

SEMI E97-0200A © SEMI 2000 40
void makeRegistered (in MESFactory aFactory)
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
/* This operation causes the component to remove its registration from the factory. */
void makeNotRegistered (in MESFactory aFactory)
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
/* This operation causes a registered component to perform its startup sequence. Each manager gets itself to the
point where it is capable of interacting with other components. When it is ready to support all services defined in the
interface, the component manager tells the factory that component startup is complete. */
void makeStartingUp ()
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
/* This operation causes the component to perform its shutdown sequence and then enter the state STOPPED.
During shutting down activities, time is allotted to bringing the resources of a component to a safe stopping
condition. The component manager tells the factory that component shutdown is complete. */
void makeShuttingDown ()
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
/* This operation causes the component to go into the state STOPPED without regard to data loss or the stopping
condition of resources or material. There is no communication with the factory. */
void makeStopped ()
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
/* This operation causes a registered component to go into the state IN SERVICE from the state STOPPED. */
void makeInService ()
raises (Global::FrameworkErrorSignal,
Global::InvalidStateTransitionSignal);
/* Answer whether the status of the component is that indicated. */
boolean isStopped ()
raises (Global::FrameworkErrorSignal);
boolean isStartingUp ()
raises (Global::FrameworkErrorSignal);
boolean isShuttingDown ()
raises (Global::FrameworkErrorSignal);
boolean isNotRegistered ()
raises (Global::FrameworkErrorSignal);
boolean isRegistered ()
raises (Global::FrameworkErrorSignal);
}; // ComponentManager
Contracted Services: None.

SEMI E97-0200A © SEMI 200041
Dynamic Model:
Component Manager Registration
NOT REGISTERED
REGISTERED
NOT REGISTERED
1
REGISTERED
23 23
Component Manager Service Status
OUT OF SERVICE
SHUTTING DOWN
STARTING UP
STOPPED
IN SERVICE
OUT OF SERVICE
SHUTTING DOWN
STARTING UP
STOPPED
SHUTTING DOWN
STARTING UP
STOPPED
IN SERVICE
1111
44
66
55
99
8
1010
7
Figure 9
Component Manager Dynamic Model
Table 7 ComponentManager State Definitions and Query Table
State Definition Query for State via
NOT REGISTERED Component is not registered with a factory
and is not connected to the system.
boolean isNotRegistered ( ); sent to the instance
of ComponentManager returns TRUE.
REGISTERED Component is registered with a factory and is
connected to the system.
boolean isRegistered ( ); sent to the instance of
ComponentManager returns TRUE.
STOPPED Component is not able to provide services. boolean isStopped ( ); sent to the instance of
ComponentManager returns TRUE.
STARTING UP Component is performing a startup sequence. boolean isStartingUp ( ); sent to the instance of
ComponentManager returns TRUE.
IN SERVICE Component is capable of interacting with
other components.
boolean isInService ( ); sent to the instance of
ComponentManager returns TRUE.
SHUTTING DOWN Component is performing shutdown
sequence.
boolean isShuttingDown ( ); sent to the instance
of ComponentManager returns TRUE.
OUT OF SERVICE Component is not able to provide services. None.