|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.model.impl.RegistrationInfoImpl
public class RegistrationInfoImpl
Field Summary |
---|
Fields inherited from interface org.nuxeo.runtime.model.RegistrationInfo |
---|
ACTIVATED, ACTIVATING, DEACTIVATING, REGISTERED, RESOLVED, UNREGISTERED |
Constructor Summary | |
---|---|
RegistrationInfoImpl()
|
|
RegistrationInfoImpl(ComponentName name)
Useful when dynamically registering components |
Method Summary | |
---|---|
void |
activate()
|
void |
checkExtensions()
|
void |
deactivate()
|
void |
destroy()
|
java.lang.String |
getBundle()
Get the owner bundle symbolic name of that component. |
ComponentInstance |
getComponent()
Gets the component instance or null if the component was not yet activated. |
RuntimeContext |
getContext()
Gets the runtime context that created this registration info. |
java.util.Set<RegistrationInfoImpl> |
getDependsOnMe()
|
java.lang.String |
getDocumentation()
Gets any comments on this component. |
ExtensionPointImpl |
getExtensionPoint(java.lang.String name)
|
ExtensionPoint[] |
getExtensionPoints()
Gets the defined extension points. |
Extension[] |
getExtensions()
Gets the extensions contributed by this component. |
java.lang.String |
getImplementation()
Give the class name for the component implementation if this is a java component |
ComponentManager |
getManager()
Gets the component manager. |
ComponentName |
getName()
Gets the name of the component. |
java.util.Map<java.lang.String,Property> |
getProperties()
Gets the component properties. |
java.lang.String[] |
getProvidedServiceNames()
Gets the list of provided services or null if no service is provided. |
java.util.Set<ComponentName> |
getRequiredComponents()
Gets the list of the required components. |
ServiceDescriptor |
getServiceDescriptor()
|
int |
getState()
Gets the component state. |
Version |
getVersion()
Gets the component version. |
java.util.Set<ComponentName> |
getWaitsFor()
|
java.net.URL |
getXmlFileUrl()
Retrieve the URL of the XML file used to declare the component |
boolean |
isActivated()
Checks whether this component is activated. |
boolean |
isDisabled()
Whether this component is disabled. |
boolean |
isDisposed()
|
boolean |
isPending()
|
boolean |
isPersistent()
Whether or not this registration is persisted by the user (not part of a real bundle). |
boolean |
isResolved()
Checks whether this component is resolved (i˙e˙ all its dependencies are satisfied). |
void |
restart()
|
void |
setContext(RuntimeContext rc)
|
void |
setPersistent(boolean isPersistent)
Set the persistent flag on this registration |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RegistrationInfoImpl()
public RegistrationInfoImpl(ComponentName name)
name
- the component nameMethod Detail |
---|
public void setContext(RuntimeContext rc)
public boolean isDisabled()
RegistrationInfo
isDisabled
in interface RegistrationInfo
public java.util.Set<RegistrationInfoImpl> getDependsOnMe()
public java.util.Set<ComponentName> getWaitsFor()
public final boolean isPersistent()
RegistrationInfo
isPersistent
in interface RegistrationInfo
public void setPersistent(boolean isPersistent)
RegistrationInfo
setPersistent
in interface RegistrationInfo
public final boolean isPending()
public void destroy()
public final boolean isDisposed()
public ExtensionPoint[] getExtensionPoints()
RegistrationInfo
getExtensionPoints
in interface RegistrationInfo
public ComponentInstance getComponent()
RegistrationInfo
getComponent
in interface RegistrationInfo
public ComponentName getName()
RegistrationInfo
getName
in interface RegistrationInfo
public java.util.Map<java.lang.String,Property> getProperties()
RegistrationInfo
getProperties
in interface RegistrationInfo
public ExtensionPointImpl getExtensionPoint(java.lang.String name)
public int getState()
RegistrationInfo
getState
in interface RegistrationInfo
public Extension[] getExtensions()
RegistrationInfo
getExtensions
in interface RegistrationInfo
public java.util.Set<ComponentName> getRequiredComponents()
RegistrationInfo
getRequiredComponents
in interface RegistrationInfo
public RuntimeContext getContext()
RegistrationInfo
getContext
in interface RegistrationInfo
public java.lang.String getBundle()
RegistrationInfo
getBundle
in interface RegistrationInfo
public Version getVersion()
RegistrationInfo
getVersion
in interface RegistrationInfo
public java.lang.String getDocumentation()
RegistrationInfo
getDocumentation
in interface RegistrationInfo
public java.lang.String toString()
toString
in class java.lang.Object
public ComponentManager getManager()
RegistrationInfo
getManager
in interface RegistrationInfo
public void restart() throws java.lang.Exception
java.lang.Exception
public void activate() throws java.lang.Exception
java.lang.Exception
public void deactivate() throws java.lang.Exception
java.lang.Exception
public boolean isActivated()
RegistrationInfo
isActivated
in interface RegistrationInfo
public boolean isResolved()
RegistrationInfo
isResolved
in interface RegistrationInfo
public java.lang.String[] getProvidedServiceNames()
RegistrationInfo
getProvidedServiceNames
in interface RegistrationInfo
public ServiceDescriptor getServiceDescriptor()
public java.lang.String getImplementation()
RegistrationInfo
getImplementation
in interface RegistrationInfo
public void checkExtensions()
public java.net.URL getXmlFileUrl()
RegistrationInfo
getXmlFileUrl
in interface RegistrationInfo
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |