java.lang.Object
org.mobicents.slee.container.service.ServiceShutdown
- All Implemented Interfaces:
- java.lang.Runnable, org.mobicents.slee.runtime.transaction.TransactionalAction
- class ServiceShutdown
- extends java.lang.Object
- implements java.lang.Runnable, org.mobicents.slee.runtime.transaction.TransactionalAction
ServiceShutdown task.
This waits and cleans up the service state and removes
sbb entities from the cache when the service
shuts down.
|
Method Summary |
void |
execute()
|
void |
run()
This method will be called by whoever wishes to run your class
implementing Runnable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
service
private final Service service
serviceId
private ServiceID serviceId
logger
private static org.jboss.logging.Logger logger
ServiceShutdown
public ServiceShutdown(Service service,
org.mobicents.slee.container.management.ServiceIDImpl serviceId)
run
public void run()
- Description copied from interface:
java.lang.Runnable
- This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
run in interface java.lang.Runnable
execute
public void execute()
- Specified by:
execute in interface org.mobicents.slee.runtime.transaction.TransactionalAction