|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.model.impl.DefaultDeploymentModel
Abstract model base class.
Field Summary |
Fields inherited from interface org.apache.avalon.composition.model.DeploymentModel |
DEPLOYMENT_TIMEOUT_KEY, SEPARATOR |
Constructor Summary | |
DefaultDeploymentModel(DeploymentContext context,
SecurityModel security)
Creation of an abstract model. |
Method Summary | |
void |
commission()
Commission the model. |
void |
decommission()
Decommission the model. |
boolean |
equals(Object other)
|
AccessControlContext |
getAccessControlContext()
Return the access control context. |
CategoriesDirective |
getCategories()
Return the logging categories. |
DeploymentModel[] |
getConsumerGraph()
Return the set of models consuming this model. |
long |
getDeploymentTimeout()
Return the default deployment timeout value declared in the kernel configuration. |
Logger |
getLogger()
Return the assigned logging channel. |
Mode |
getMode()
Return the mode of establishment. |
String |
getName()
Return the profile name. |
String |
getPath()
Return the profile path. |
Permissions |
getPermissions()
Return the assigned permissions. |
DeploymentModel[] |
getProviderGraph()
Return the set of models supplying this model. |
String |
getQualifiedName()
Return the model fully qualified name. |
void |
release(Object instance)
Release an object |
Object |
resolve()
Resolve a object to a value. |
Object |
resolve(boolean proxy)
Resolve a object to a value. |
void |
setCategories(CategoriesDirective categories)
Set categories. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.avalon.composition.model.DeploymentModel |
getProviders, getServices, isaCandidate, isaCandidate, isaCandidate, isAssembled |
Constructor Detail |
public DefaultDeploymentModel(DeploymentContext context, SecurityModel security)
context
- the deployment contextMethod Detail |
public void commission() throws Exception
commission
in interface Commissionable
Exception
- if a commissioning error occurspublic void decommission()
decommission
in interface Commissionable
public Object resolve() throws Exception
resolve
in interface Resolver
Exception
- if an error occurspublic Object resolve(boolean proxy) throws Exception
resolve
in interface Resolver
proxy
- if TRUE ruturn a proxied reference if the underlying component
suppports proxied representation otherwise return the raw component instance
Exception
- if an error occurspublic void release(Object instance)
release
in interface Resolver
instance
- the object to be releasedpublic String getName()
getName
in interface DeploymentModel
public String getPath()
getPath
in interface DeploymentModel
public String getQualifiedName()
getQualifiedName
in interface DeploymentModel
public Mode getMode()
getMode
in interface DeploymentModel
public DeploymentModel[] getConsumerGraph()
getConsumerGraph
in interface DeploymentModel
public DeploymentModel[] getProviderGraph()
getProviderGraph
in interface DeploymentModel
public Logger getLogger()
getLogger
in interface DeploymentModel
public Permissions getPermissions()
public AccessControlContext getAccessControlContext()
getAccessControlContext
in interface DeploymentModel
public String toString()
public boolean equals(Object other)
public long getDeploymentTimeout()
getDeploymentTimeout
in interface DeploymentModel
public CategoriesDirective getCategories()
getCategories
in interface DeploymentModel
public void setCategories(CategoriesDirective categories)
setCategories
in interface DeploymentModel
categories
- the logging categories
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |