Package org.smooks.management
Class DefaultInstrumentationResource
- java.lang.Object
-
- org.smooks.management.DefaultInstrumentationResource
-
- All Implemented Interfaces:
ContentDeliveryConfigLifecycle
,FilterLifecycle
,InstrumentationResource
public class DefaultInstrumentationResource extends Object implements FilterLifecycle, ContentDeliveryConfigLifecycle, InstrumentationResource
-
-
Field Summary
-
Fields inherited from interface org.smooks.api.management.InstrumentationResource
INSTRUMENTATION_RESOURCE_TYPED_KEY
-
-
Constructor Summary
Constructors Constructor Description DefaultInstrumentationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getIncludeHostName()
InstrumentationAgent
getInstrumentationAgent()
String
getMBeanObjectDomainName()
void
onContentDeliveryBuilderCreated()
Second Event.void
onContentDeliveryConfigCreated()
void
onContentHandlersCreated()
First Event.void
onPostFilter(ExecutionContext executionContext)
void
onPreFilter(ExecutionContext executionContext)
void
postConstruct()
-
-
-
Method Detail
-
postConstruct
@PostConstruct public void postConstruct()
-
onPreFilter
public void onPreFilter(ExecutionContext executionContext)
- Specified by:
onPreFilter
in interfaceFilterLifecycle
-
onPostFilter
public void onPostFilter(ExecutionContext executionContext)
- Specified by:
onPostFilter
in interfaceFilterLifecycle
-
onContentHandlersCreated
public void onContentHandlersCreated()
Description copied from interface:ContentDeliveryConfigLifecycle
First Event. Content handlers created (and sorted), but the builder instance is not yet created.- Specified by:
onContentHandlersCreated
in interfaceContentDeliveryConfigLifecycle
-
onContentDeliveryBuilderCreated
public void onContentDeliveryBuilderCreated()
Description copied from interface:ContentDeliveryConfigLifecycle
Second Event. The builder instance (for the profile) is now created and ready to be used.- Specified by:
onContentDeliveryBuilderCreated
in interfaceContentDeliveryConfigLifecycle
-
onContentDeliveryConfigCreated
public void onContentDeliveryConfigCreated()
- Specified by:
onContentDeliveryConfigCreated
in interfaceContentDeliveryConfigLifecycle
-
getMBeanObjectDomainName
public String getMBeanObjectDomainName()
- Specified by:
getMBeanObjectDomainName
in interfaceInstrumentationResource
-
getIncludeHostName
public Boolean getIncludeHostName()
- Specified by:
getIncludeHostName
in interfaceInstrumentationResource
-
getInstrumentationAgent
public InstrumentationAgent getInstrumentationAgent()
- Specified by:
getInstrumentationAgent
in interfaceInstrumentationResource
-
-