|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RegistrationInfo
The component registration info.
A registration info object is keeping all the information needed to deploy a component, like the component implementation, properties, dependencies and also the defined extension points and contributed extensions.
When a component is activated the registration info is creating a component instance using the current runtime context.
Field Summary | |
---|---|
static int |
ACTIVATED
|
static int |
ACTIVATING
|
static int |
DEACTIVATING
|
static int |
REGISTERED
|
static int |
RESOLVED
|
static int |
UNREGISTERED
|
Method Summary | |
---|---|
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.lang.String |
getDocumentation()
Gets any comments on this component. |
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. |
int |
getState()
Gets the component state. |
Version |
getVersion()
Gets the component version. |
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 |
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 |
setPersistent(boolean isPersistent)
Set the persistent flag on this registration |
Field Detail |
---|
static final int UNREGISTERED
static final int REGISTERED
static final int RESOLVED
static final int ACTIVATED
static final int ACTIVATING
static final int DEACTIVATING
Method Detail |
---|
Version getVersion()
java.lang.String getBundle()
java.lang.String getDocumentation()
RuntimeContext getContext()
java.util.Map<java.lang.String,Property> getProperties()
java.util.Set<ComponentName> getRequiredComponents()
ExtensionPoint[] getExtensionPoints()
Extension[] getExtensions()
ComponentName getName()
boolean isDisabled()
ComponentInstance getComponent()
int getState()
ComponentManager getManager()
boolean isActivated()
boolean isResolved()
java.lang.String[] getProvidedServiceNames()
boolean isPersistent()
void setPersistent(boolean isPersistent)
isPersistent
- java.lang.String getImplementation()
java.net.URL getXmlFileUrl()
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |