Class AdobeIoEventHandler<T extends XdmObject>
- java.lang.Object
-
- com.adobe.aio.aem.event.osgimapping.eventhandler.AdobeIoEventHandler<T>
-
- All Implemented Interfaces:
org.osgi.service.event.EventHandler
- Direct Known Subclasses:
DamEventHandler
,OsgiEventHandler
,PageModificationEventHandler
,ReplicationEventHandler
,ResourceEventHandler
public abstract class AdobeIoEventHandler<T extends XdmObject> extends Object implements org.osgi.service.event.EventHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
logger
-
Constructor Summary
Constructors Modifier Constructor Description protected
AdobeIoEventHandler(org.apache.sling.event.jobs.JobManager jobManager, URL rootUrl, String imsOrgId, OsgiEventMapping osgiEventMapping, ResourceResolverWrapperFactory resourceResolverWrapperFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> Optional<V>
getXdmObjectFromResource(org.apache.sling.api.resource.Resource resource, Function<org.apache.sling.api.resource.Resource,Optional<V>> converter)
void
handleEvent(org.osgi.service.event.Event event)
protected boolean
isPathOfInterest(String path)
-
-
-
Constructor Detail
-
AdobeIoEventHandler
protected AdobeIoEventHandler(org.apache.sling.event.jobs.JobManager jobManager, URL rootUrl, String imsOrgId, OsgiEventMapping osgiEventMapping, ResourceResolverWrapperFactory resourceResolverWrapperFactory)
-
-
Method Detail
-
handleEvent
public void handleEvent(org.osgi.service.event.Event event)
- Specified by:
handleEvent
in interfaceorg.osgi.service.event.EventHandler
-
getXdmObjectFromResource
public <V> Optional<V> getXdmObjectFromResource(org.apache.sling.api.resource.Resource resource, Function<org.apache.sling.api.resource.Resource,Optional<V>> converter)
-
isPathOfInterest
protected boolean isPathOfInterest(String path)
-
-