Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mobicents.slee.container.service
Class ServiceShutdown  view ServiceShutdown download ServiceShutdown.java

java.lang.Object
  extended byorg.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.


Field Summary
private static org.jboss.logging.Logger logger
           
private  Service service
           
private  ServiceID serviceId
           
 
Constructor Summary
ServiceShutdown(Service service, org.mobicents.slee.container.management.ServiceIDImpl serviceId)
           
 
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
 

Field Detail

service

private final Service service

serviceId

private ServiceID serviceId

logger

private static org.jboss.logging.Logger logger
Constructor Detail

ServiceShutdown

public ServiceShutdown(Service service,
                       org.mobicents.slee.container.management.ServiceIDImpl serviceId)
Method Detail

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