Method and system for tracking software components
First Claim
1. A method in a computer system for tracking a state of an entity for a client, the state of the client being up or down, the method comprising:
- receiving a request from the client to track the state of the entity;
watching the state of the entity to detect when the entity enters the up state;
when entity enters the up state, performing a behavior specified by the client to be performed when the entity enters the up state;
monitoring the state of the entity to detect when the entity enters the down state;
when the entity enters the down state, performing a behavior specified by the client to be performed when the entity enters the down state;
receiving a request from the client for a reference to the entity; and
in response to receiving the request for a reference to the entity, when the entity is in the up state, providing to the client the reference to the entity; and
when the entity is in the down state, notifying the client that no reference to the entity is being provided.
0 Assignments
0 Petitions
Accused Products
Abstract
A method system for tracking the state of an entity (e.g., an object) on behalf of a client (e.g., an application program). The states of an entity include up and down. The tracking system of the present invention receives a request from a client to track the state of an entity. The tracking system then watches the state of the entity to detect when the entity enters the up state. When the entity enters the up state, the tracking system performs a behavior that is specified by the client to be performed when the entity enters the up state. When the entity is in the up state, the tracking system monitors the state of the entity to detect when the entity enters the down state. When the entity enters the down state, the tracking system performs a behavior that is specified by the client to be performed when the entity enters the down state. When the tracking system receives a request from the client for a pointer to the entity, the tracking system determines the current state of the entity and either provides a pointer to the entity or indicates that a pointer is not being provided.
28 Citations
16 Claims
-
1. A method in a computer system for tracking a state of an entity for a client, the state of the client being up or down, the method comprising:
-
receiving a request from the client to track the state of the entity;
watching the state of the entity to detect when the entity enters the up state;
when entity enters the up state, performing a behavior specified by the client to be performed when the entity enters the up state;
monitoring the state of the entity to detect when the entity enters the down state;
when the entity enters the down state, performing a behavior specified by the client to be performed when the entity enters the down state;
receiving a request from the client for a reference to the entity; and
in response to receiving the request for a reference to the entity, when the entity is in the up state, providing to the client the reference to the entity; and
when the entity is in the down state, notifying the client that no reference to the entity is being provided. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer system for tracking a state of an entity, the system comprising:
-
a client component that registers when an entity is to be tracked, that provides a client behavior to be performed when the entity changes state, and that requests a reference to the entity;
an entity tracking component that receives the registration from the client component to track the entity, that when requested by the client component provides a reference to the entity, that requests a reference to the entity, and that provides a tracking behavior to be performed when the entity changes state that effects the performing of the client behavior provided by the client component; and
an entity manager that when the entity changes state performs the tracking behavior provided by the entity tracking component and that when requested by the entity tracking component provides a reference to the entity.
-
-
8. A computer system for tracking a state of an entity, the system comprising:
-
a registration component that receives a registration from a client to track the entity, the registration indicating a behavior to perform when the entity changes state;
a reference component that retrieves a reference from an entity manager when the reference is in an up state and that provides to the client a reference to the entity when requested by the client; and
a notification component that requests to be notified when the entity changes state and that when a notification is received performs the indicated behavior. - View Dependent Claims (9)
-
-
10. A method in a system for tracking a state of an object changes in a distributed object environment, the method comprising:
registering to be notified when the state of the object changes; and
when the state of the object changes, receiving a notification and performing a behavior associated with the change in state.- View Dependent Claims (11, 12, 14, 15)
-
13. The method of claim wherein one software components registers to be notified and another software component receives the notification.
-
16. A system for tracking software components in a distributed software component environment, comprising:
-
a watch component that watches for when a software component enters a first state and provides a notification that the software component is in the first state; and
a monitor component that monitors for when a software component enters a second second state and provides a notification that the software component is in the second state.
-
Specification