Interface EndpointLifecycleManager
-
- All Known Implementing Classes:
EndpointLifecycleManagerImpl
public interface EndpointLifecycleManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
createServiceInstance(MessageContext mc, Class serviceImplClass)
EndpointLifecycleManager will create a service instance.void
invokePostConstruct()
void
invokePreDestroy()
-
-
-
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:
LifecycleException
ResourceInjectionException
-
invokePostConstruct
void invokePostConstruct() throws LifecycleException
- Throws:
LifecycleException
-
invokePreDestroy
void invokePreDestroy() throws LifecycleException
- Throws:
LifecycleException
-
-