|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sling.event.impl.EnvironmentComponent
@Service(value=EnvironmentComponent.class) public class EnvironmentComponent
Environment component. This component provides "global settings" to all services, like the application id and the thread pool.
Constructor Summary | |
---|---|
EnvironmentComponent()
|
Method Summary | |
---|---|
protected void |
activate()
Activate this component. |
protected void |
bindThreadPool(EventingThreadPool etp)
|
javax.jcr.Session |
createAdminSession()
Create a new admin session. |
protected void |
deactivate()
Dectivate this component. |
ClassLoader |
getDynamicClassLoader()
Return the dynamic classloader for loading events from the repository. |
org.osgi.service.event.EventAdmin |
getEventAdmin()
Return the event admin. |
protected void |
unbindThreadPool(EventingThreadPool etp)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnvironmentComponent()
Method Detail |
---|
@Activate protected void activate()
@Deactivate protected void deactivate()
public ClassLoader getDynamicClassLoader()
public javax.jcr.Session createAdminSession() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public org.osgi.service.event.EventAdmin getEventAdmin()
protected void bindThreadPool(EventingThreadPool etp)
protected void unbindThreadPool(EventingThreadPool etp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |