semi合集-English.pdf - 第2721页

SEMI E97-0200A © SEMI 2000 41 Dyna mic Mo del: Component Manager Registration NOT REGISTERED REGISTERED NOT REGISTERED 1 REGISTERED 2 3 2 3 Component Manager Service Status OUT OF SERVICE SHUTTING DOWN STARTING UP STOPPE…

100%1 / 7923
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.
SEMI E97-0200A © SEMI 2000 42
Table 8 ComponentManager State Transitions
# Current State Trigger New State Action Comment
1 Non Existent No CIM Framework
trigger necessary.
NOT
REGISTERED
Instance creation is done
by the specialization.
ComponentManager is
an abstract inherited
interface designed to
provide common
behavior for
specializations.
2 NOT
REGISTERED
makeRegistered() sent
to the instance of
ComponentManager.
REGISTERED Component manager
registers with a Factory
instance via Trader.
None.
3 REGISTERED makeNotRegistered()
sent to the instance of
ComponentManager.
NOT
REGISTERED
Component manager
removes registration from
the Factory via Trader.
None.
4 Unknown makeStartingUp() sent
to the instance of
ComponentManager.
STARTING
UP
Component manager is
requested to startup.
Implementation can
use startup() or
makeStartingUp()
services.
5 STARTING UP Internal to component. IN SERVICE Report to Factory that
Component is able to
provide services, via
events.
Component manager
has finished its startup
sequence.
6 STARTING UP Internal to component. STOPPED None. Component Manager
could not complete
startup procedure and
is stopped for further
corrective action.
7 IN SERVICE makeStopped() sent to
the instance of
Component Manager.
STOPPED Component will also go
out of service.
ComponentManager is
stopped and it may be
resumed as needed.
8 STOPPED makeInService() sent to
the instance of
Component Manager.
IN SERVICE Component Manager has
resumed operations and is
in service for execution.
None.
9 STOPPED makeShuttingDown()
sent to the instance of
ComponentManager.
SHUTTING
DOWN
As an action it reports to
the Factory that resources
and material are brought
to a safe state.
The component
manager receives
“shutdown normal”
message.
10 IN SERVICE makeShuttingDown()
sent to the instance of
ComponentManager.
SHUTTING
DOWN
As an action it reports to
the Factory that resources
and material are brought
to a safe state.
The component
manager receives
“shutdown normal”
message.
11 SHUTTING
DOWN
makeNotRegistered()
sent to the instance of
Component Manager.
Non Existent The Component Manager
is unregistered.
None.