|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.server.kernel.BaseService
org.jboss.portal.server.ServerObject
org.jboss.portal.server.Component
public abstract class Component
Field Summary | |
---|---|
protected Application |
application
The application this component belongs to. |
protected java.lang.Integer |
expirationCache
If not null, specifiy the caching behaviour. |
protected Valve |
valve
The invocation valve. |
Fields inherited from class org.jboss.portal.server.ServerObject |
---|
log, name, plugins |
Fields inherited from class org.jboss.portal.server.kernel.BaseService |
---|
ctx |
Constructor Summary | |
---|---|
protected |
Component(java.lang.String name)
|
Method Summary | |
---|---|
void |
addIDependOn(ServiceImplementation implementation)
Add a service it depends on. |
Application |
getApplication()
Returns the application that component belongs to. |
ContentTypes |
getContentTypes()
|
java.lang.Integer |
getExpirationCache()
Return the expiration cache value in seconds if any. |
PortalServer |
getServer()
Return the container this object belongs to. |
Valve |
getValve()
The invocation valve. |
java.lang.Object |
invoke(Invocation invocation)
Invoke on this component. |
void |
removeIDependOn(ServiceImplementation implementation)
Remove a service it depends on. |
Methods inherited from class org.jboss.portal.server.ServerObject |
---|
addDependsOnMe, addPlugin, create, createContext, createURL, destroy, getID, getMetaData, getName, getPlugin, getPluginKeySet, removeDependsOnMe, removePlugin, start, stop |
Methods inherited from class org.jboss.portal.server.kernel.BaseService |
---|
registered, unregister |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.portal.server.kernel.Registration |
---|
registered, unregister |
Field Detail |
---|
protected Application application
protected java.lang.Integer expirationCache
protected final Valve valve
Constructor Detail |
---|
protected Component(java.lang.String name)
Method Detail |
---|
public PortalServer getServer()
ServerObject
getServer
in class ServerObject
public java.lang.Integer getExpirationCache()
public ContentTypes getContentTypes()
public java.lang.Object invoke(Invocation invocation)
invoke
in class ServerObject
public Valve getValve()
public Application getApplication()
public void addIDependOn(ServiceImplementation implementation)
Registration
addIDependOn
in interface Registration
addIDependOn
in class ServerObject
public void removeIDependOn(ServiceImplementation implementation)
Registration
removeIDependOn
in interface Registration
removeIDependOn
in class ServerObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |