public interface RegistrationInfo extends Serializable
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.
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVATED |
static int |
ACTIVATING |
static int |
DEACTIVATING |
static int |
REGISTERED |
static int |
RESOLVED |
static int |
UNREGISTERED |
Modifier and Type | Method and Description |
---|---|
Set<ComponentName> |
getAliases()
Gets the list of aliases.
|
int |
getApplicationStartedOrder()
The component notification order for
notifyApplicationStarted() . |
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.
|
String |
getDocumentation()
Gets any comments on this component.
|
ExtensionPoint[] |
getExtensionPoints()
Gets the defined extension points.
|
Extension[] |
getExtensions()
Gets the extensions contributed by this component.
|
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.
|
Map<String,Property> |
getProperties()
Gets the component properties.
|
String[] |
getProvidedServiceNames()
Gets the list of provided services or null if no service is provided.
|
Set<ComponentName> |
getRequiredComponents()
Gets the list of the required components.
|
int |
getState()
Gets the component state.
|
Version |
getVersion()
Gets the component version.
|
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 |
notifyApplicationStarted()
Notify the component instance that the Nuxeo application started
|
void |
setPersistent(boolean isPersistent)
Set the persistent flag on this registration
|
static final int UNREGISTERED
static final int REGISTERED
static final int RESOLVED
static final int ACTIVATED
static final int ACTIVATING
static final int DEACTIVATING
Version getVersion()
String getBundle()
String getDocumentation()
RuntimeContext getContext()
Map<String,Property> getProperties()
Set<ComponentName> getAliases()
Set<ComponentName> getRequiredComponents()
ExtensionPoint[] getExtensionPoints()
Extension[] getExtensions()
ComponentName getName()
boolean isDisabled()
ComponentInstance getComponent()
int getState()
ComponentManager getManager()
boolean isActivated()
boolean isResolved()
String[] getProvidedServiceNames()
boolean isPersistent()
void setPersistent(boolean isPersistent)
isPersistent
- String getImplementation()
URL getXmlFileUrl()
int getApplicationStartedOrder()
notifyApplicationStarted()
.Copyright © 2014 Nuxeo SA. All rights reserved.