org.globus.mds.aggregator.impl
Interface AggregatorServiceGroupEntryRemovedCallback
- public interface AggregatorServiceGroupEntryRemovedCallback
Service developers incorporating the Aggregator framework may implement
this interface, specifying the implementing class as the "entryRemovedCallback"
parameter in the AggregatorConfiguration JNDI bean of a service jndi-config.xml
file.
Whenever a AggregatorServiceGroupEntryResource is removed from an
AggregatorServiceGroupEntryHome, the corresponding remove method will be
invoked on the supplied class, passing as a parameter the instance of the
resource that is about to be removed.
NOTE:
Implementing classes should excercise caution when copying and storing
references to members of the supplied AggregatorServiceGroupEntryResource,
and should not retain such references beyond the scope of the remove
function call; otherwise the AggregatorServiceGroupEntryResource will not be
eligible for garbage collection and undesired heap growth will occur.
remove
public void remove(AggregatorServiceGroupEntryResource resource)
throws java.lang.Exception
- Throws:
java.lang.Exception