| Method from org.jboss.system.metadata.ServiceMetaData Detail: |
public void addAttribute(ServiceAttributeMetaData serviceAttributeMetaData) {
if(serviceAttributeMetaData == null)
throw new IllegalArgumentException("null serviceAttributeMetaData");
if(this.attributes.size() == 0)
this.attributes = new ArrayList< ServiceAttributeMetaData >();
if(this.attributes.contains(serviceAttributeMetaData) == false)
this.attributes.add(serviceAttributeMetaData);
}
|
public void addAttributes(List aAttributeList) {
if(aAttributeList == null)
throw new IllegalArgumentException("Null attribute");
if(this.attributes.size() == 0)
this.attributes = aAttributeList;
else
{
//Avoid duplicates
for(ServiceAttributeMetaData serviceAttributeMetaData: aAttributeList)
{
addAttribute(serviceAttributeMetaData);
}
}
}
|
protected void addChildren(Set children) {
children.addAll(attributes);
children.addAll(dependencies);
}
|
public void addDependencies(List dependencyList) {
if(dependencyList == null)
throw new IllegalArgumentException("Null dependency");
if(this.dependencies.size() == 0)
this.dependencies = dependencyList;
else
{
for(ServiceDependencyMetaData serviceDependencyMetaData: dependencyList)
{
addDependency(serviceDependencyMetaData);
}
}
}
|
public void addDependency(ServiceDependencyMetaData serviceDependencyMetaData) {
if(serviceDependencyMetaData == null)
throw new IllegalArgumentException("Null serviceDependencyMetaData");
if(this.dependencies.size() == 0)
this.dependencies = new ArrayList< ServiceDependencyMetaData >();
if(this.dependencies.contains(serviceDependencyMetaData) == false)
this.dependencies.add(serviceDependencyMetaData);
}
|
public List getAliases() {
return aliases;
}
|
public List getAnnotations() {
return annotations;
}
Get the service annotations |
public List getAttributes() {
return attributes;
}
|
public ObjectName getClassLoaderName() {
return classLoaderName;
}
|
public String getCode() {
return code;
}
|
public ServiceConstructorMetaData getConstructor() {
return constructor;
}
|
public List getDependencies() {
return dependencies;
}
|
public String getInterfaceName() {
return interfaceName;
}
|
public ControllerMode getMode() {
return mode;
}
|
public ObjectName getObjectName() {
return objectName;
}
|
public String getXMBeanCode() {
return xmbeanCode;
}
|
public String getXMBeanDD() {
return xmbeanDD;
}
|
public Element getXMBeanDescriptor() {
return xmbeanDescriptor;
}
Get the xmbeanDescriptor. |
public void removeAttributes(List aAttributeList) {
this.attributes.removeAll(aAttributeList);
}
Remove a list of Attributes |
public void removeDependency(ServiceDependencyMetaData dependency) {
this.dependencies.remove(dependency);
}
|
public void setAliases(List aliases) {
this.aliases = aliases;
}
|
public void setAnnotations(List annotations) {
if (annotations == null)
throw new IllegalArgumentException("Null annotations");
this.annotations = annotations;
}
Set the service annotations |
public void setAttributes(List attributes) {
if (attributes == null)
throw new IllegalArgumentException("Null attributes");
this.attributes = attributes;
}
|
public void setClassLoaderName(ObjectName classLoaderName) {
this.classLoaderName = classLoaderName;
}
|
public void setCode(String code) {
if (code == null)
throw new IllegalArgumentException("Null code");
this.code = code;
}
|
public void setConstructor(ServiceConstructorMetaData constructor) {
this.constructor = constructor;
}
|
public void setDependencies(List dependencies) {
if (dependencies == null)
throw new IllegalArgumentException("Null dependencies");
this.dependencies = dependencies;
}
|
public void setInterfaceName(String interfaceName) {
this.interfaceName = interfaceName;
}
|
public void setMode(ControllerMode mode) {
this.mode = mode;
}
|
public void setObjectName(ObjectName objectName) {
if (objectName == null)
throw new IllegalArgumentException("Null objectName");
this.objectName = objectName;
}
|
public void setXMBeanCode(String xmbeanCode) {
if (xmbeanCode == null)
throw new IllegalArgumentException("Null xmbeanCode");
this.xmbeanCode = xmbeanCode;
}
|
public void setXMBeanDD(String xmbeanDD) {
this.xmbeanDD = xmbeanDD;
}
|
public void setXMBeanDescriptor(Element xmbeanDescriptor) {
this.xmbeanDescriptor = xmbeanDescriptor;
}
Set the xmbeanDescriptor. |