Interface EndpointLifecycleManager
-
- All Known Implementing Classes:
EndpointLifecycleManagerImpl
public interface EndpointLifecycleManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectcreateServiceInstance(MessageContext mc, Class serviceImplClass)EndpointLifecycleManager will create a service instance.voidinvokePostConstruct()voidinvokePreDestroy()
-
-
-
Method Detail
-
createServiceInstance
Object createServiceInstance(MessageContext mc, Class serviceImplClass) throws LifecycleException, ResourceInjectionException
EndpointLifecycleManager will create a service instance. It will inject Resources and then call the lifecycle methods on the service instance.- Parameters:
mc-serviceImplClass-- Returns:
- Throws:
LifecycleExceptionResourceInjectionException
-
invokePostConstruct
void invokePostConstruct() throws LifecycleException- Throws:
LifecycleException
-
invokePreDestroy
void invokePreDestroy() throws LifecycleException- Throws:
LifecycleException
-
-