|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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()
|
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. |
Set<RegistrationInfoImpl> |
getDependsOnMe()
|
String |
getDocumentation()
Gets any comments on this component. |
ExtensionPointImpl |
getExtensionPoint(String name)
|
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. |
ServiceDescriptor |
getServiceDescriptor()
|
int |
getState()
Gets the component state. |
Version |
getVersion()
Gets the component version. |
Set<ComponentName> |
getWaitsFor()
|
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 |
notifyApplicationStarted()
Notify the component instance that the Nuxeo application started |
void |
reload()
Reload the underlying component if reload is supported |
void |
resolve()
|
void |
restart()
|
void |
setContext(RuntimeContext rc)
|
void |
setPersistent(boolean isPersistent)
Set the persistent flag on this registration |
String |
toString()
|
void |
unresolve()
|
| 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 name| Method Detail |
|---|
public void setContext(RuntimeContext rc)
public boolean isDisabled()
RegistrationInfo
isDisabled in interface RegistrationInfopublic Set<RegistrationInfoImpl> getDependsOnMe()
public Set<ComponentName> getWaitsFor()
public final boolean isPersistent()
RegistrationInfo
isPersistent in interface RegistrationInfopublic void setPersistent(boolean isPersistent)
RegistrationInfo
setPersistent in interface RegistrationInfopublic final boolean isPending()
public void destroy()
public final boolean isDisposed()
public ExtensionPoint[] getExtensionPoints()
RegistrationInfo
getExtensionPoints in interface RegistrationInfopublic ComponentInstance getComponent()
RegistrationInfo
getComponent in interface RegistrationInfopublic ComponentName getName()
RegistrationInfo
getName in interface RegistrationInfopublic Map<String,Property> getProperties()
RegistrationInfo
getProperties in interface RegistrationInfopublic ExtensionPointImpl getExtensionPoint(String name)
public int getState()
RegistrationInfo
getState in interface RegistrationInfopublic Extension[] getExtensions()
RegistrationInfo
getExtensions in interface RegistrationInfopublic Set<ComponentName> getRequiredComponents()
RegistrationInfo
getRequiredComponents in interface RegistrationInfopublic RuntimeContext getContext()
RegistrationInfo
getContext in interface RegistrationInfopublic String getBundle()
RegistrationInfo
getBundle in interface RegistrationInfopublic Version getVersion()
RegistrationInfo
getVersion in interface RegistrationInfopublic String getDocumentation()
RegistrationInfo
getDocumentation in interface RegistrationInfo
public void reload()
throws Exception
Exceptionpublic String toString()
toString in class Objectpublic ComponentManager getManager()
RegistrationInfo
getManager in interface RegistrationInfo
public void restart()
throws Exception
Exception
public void notifyApplicationStarted()
throws Exception
RegistrationInfo
notifyApplicationStarted in interface RegistrationInfoException
public void activate()
throws Exception
Exception
public void deactivate()
throws Exception
Exception
public void resolve()
throws Exception
Exception
public void unresolve()
throws Exception
Exceptionpublic boolean isActivated()
RegistrationInfo
isActivated in interface RegistrationInfopublic boolean isResolved()
RegistrationInfo
isResolved in interface RegistrationInfopublic String[] getProvidedServiceNames()
RegistrationInfo
getProvidedServiceNames in interface RegistrationInfopublic ServiceDescriptor getServiceDescriptor()
public String getImplementation()
RegistrationInfo
getImplementation in interface RegistrationInfopublic void checkExtensions()
public 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 | |||||||||