|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xbean.kernel.ServiceEvent
public class ServiceEvent
This class holds information about a service event.
Constructor Summary | |
---|---|
ServiceEvent(long eventId,
Kernel kernel,
ServiceName serviceName,
ServiceFactory serviceFactory,
ClassLoader classLoader,
Object service,
Throwable cause,
Set unsatisfiedConditions)
Creates a service event. |
Method Summary | |
---|---|
Throwable |
getCause()
Gets the error that was thrown during startup or shutdown. |
ClassLoader |
getClassLoader()
Gets the class loader for the service. |
long |
getEventId()
Gets the sequence number for this event. |
Kernel |
getKernel()
Gets the kernel in which the service is registered. |
Object |
getService()
Gets the service instance or null if the service doesn't exist. |
ServiceFactory |
getServiceFactory()
Gets the service factory for the service. |
ServiceName |
getServiceName()
Gets the name of the service. |
Set |
getUnsatisfiedConditions()
Gets the unsatified dependencies that cause the service to wait. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceEvent(long eventId, Kernel kernel, ServiceName serviceName, ServiceFactory serviceFactory, ClassLoader classLoader, Object service, Throwable cause, Set unsatisfiedConditions)
eventId
- the sequence number for this eventkernel
- the kernel in which the service is registeredserviceName
- the name of the serviceserviceFactory
- the factory for the serviceclassLoader
- the class loader for the serviceservice
- the service instance if it existscause
- the exception that caused the event if this is an exception eventunsatisfiedConditions
- the unsatified conditions that caused the event if this is a waiting eventMethod Detail |
---|
public long getEventId()
public Kernel getKernel()
public ServiceName getServiceName()
public ServiceFactory getServiceFactory()
public ClassLoader getClassLoader()
public Object getService()
public Throwable getCause()
public Set getUnsatisfiedConditions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |