|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.scrplugin.om.AbstractObject
org.apache.felix.scrplugin.om.Component
public class Component
Component
is a described component.
Field Summary | |
---|---|
protected java.lang.Boolean |
enabled
Is this component enabled? |
protected java.lang.String |
factory
The factory. |
protected java.lang.Boolean |
immediate
Is this component immediately started. |
protected Implementation |
implementation
The implementation. |
protected boolean |
isAbstract
Is this an abstract description? |
protected boolean |
isDs
Is this a descriptor to be ignored ? |
protected java.lang.String |
name
The name of the component. |
protected java.util.List |
properties
All properties. |
protected java.util.List |
references
The references. |
protected Service |
service
The corresponding service. |
Fields inherited from class org.apache.felix.scrplugin.om.AbstractObject |
---|
tag |
Constructor Summary | |
---|---|
Component()
Default constructor. |
|
Component(JavaTag t)
Constructor from java source. |
Method Summary | |
---|---|
void |
addProperty(Property property)
|
void |
addReference(Reference ref)
|
protected void |
checkLifecycleMethod(JavaClassDescription javaClass,
java.lang.String methodName,
java.util.List warnings)
Check for existence of lifecycle methods. |
java.lang.String |
getFactory()
|
Implementation |
getImplementation()
|
JavaClassDescription |
getJavaClassDescription()
Return the associated java class description |
java.lang.String |
getName()
|
java.util.List |
getProperties()
|
java.util.List |
getReferences()
|
Service |
getService()
|
boolean |
isAbstract()
|
boolean |
isDs()
|
java.lang.Boolean |
isEnabled()
|
java.lang.Boolean |
isImmediate()
|
void |
setAbstract(boolean isAbstract)
|
void |
setDs(boolean isDs)
|
void |
setEnabled(java.lang.Boolean enabled)
|
void |
setFactory(java.lang.String factory)
|
void |
setImmediate(java.lang.Boolean immediate)
|
void |
setImplementation(Implementation implementation)
|
void |
setName(java.lang.String name)
|
void |
setProperties(java.util.List properties)
|
void |
setReferences(java.util.List references)
|
void |
setService(Service service)
|
void |
validate(java.util.List issues,
java.util.List warnings)
Validate the component description. |
Methods inherited from class org.apache.felix.scrplugin.om.AbstractObject |
---|
getMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.Boolean enabled
protected java.lang.Boolean immediate
protected java.lang.String factory
protected Implementation implementation
protected java.util.List properties
protected Service service
protected java.util.List references
protected boolean isAbstract
protected boolean isDs
Constructor Detail |
---|
public Component()
public Component(JavaTag t)
Method Detail |
---|
public JavaClassDescription getJavaClassDescription()
public java.util.List getProperties()
public void setProperties(java.util.List properties)
public void addProperty(Property property)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getFactory()
public void setFactory(java.lang.String factory)
public java.lang.Boolean isEnabled()
public void setEnabled(java.lang.Boolean enabled)
public java.lang.Boolean isImmediate()
public void setImmediate(java.lang.Boolean immediate)
public Implementation getImplementation()
public void setImplementation(Implementation implementation)
public Service getService()
public void setService(Service service)
public java.util.List getReferences()
public void setReferences(java.util.List references)
public void addReference(Reference ref)
public boolean isAbstract()
public void setAbstract(boolean isAbstract)
public boolean isDs()
public void setDs(boolean isDs)
public void validate(java.util.List issues, java.util.List warnings) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void checkLifecycleMethod(JavaClassDescription javaClass, java.lang.String methodName, java.util.List warnings) throws org.apache.maven.plugin.MojoExecutionException
javaClass
- The java class to inspect.methodName
- The method name.warnings
- The list of warnings used to add new warnings.
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |