org.jboss.system.metadata
Class ServiceMetaData

java.lang.Object
  extended by org.jboss.system.metadata.AbstractMetaDataVisitorNode
      extended by org.jboss.system.metadata.ServiceMetaData
All Implemented Interfaces:
Serializable, ServiceMetaDataVisitorNode

public class ServiceMetaData
extends AbstractMetaDataVisitorNode
implements Serializable

ServiceMetaData.

Version:
$Revision: 85945 $
Author:
Adrian Brock, Anil.Saldhana@redhat.com
See Also:
Serialized Form

Field Summary
static String XMBEAN_CODE
          The default XMBean class, when one is not specified
 
Constructor Summary
ServiceMetaData()
           
 
Method Summary
 void addAttribute(ServiceAttributeMetaData serviceAttributeMetaData)
          Add an attribute
 void addAttributes(List<ServiceAttributeMetaData> aAttributeList)
          Add an attribute
protected  void addChildren(Set<ServiceMetaDataVisitorNode> children)
          Add to the children
 void addDependencies(List<ServiceDependencyMetaData> dependencyList)
          Add dependencies
 void addDependency(ServiceDependencyMetaData serviceDependencyMetaData)
          Add dependency
 List<String> getAliases()
          Get the aliases.
 List<ServiceAnnotationMetaData> getAnnotations()
          Get the service annotations
 List<ServiceAttributeMetaData> getAttributes()
          Get the attributes.
 ObjectName getClassLoaderName()
          Get the classLoaderName.
 String getCode()
          Get the code.
 ServiceConstructorMetaData getConstructor()
          Get the constructor.
 List<ServiceDependencyMetaData> getDependencies()
          Get the dependencies.
 String getInterfaceName()
          Get the interfaceName.
 org.jboss.dependency.spi.ControllerMode getMode()
          Get the mode.
 ObjectName getObjectName()
          Get the objectName.
 String getXMBeanCode()
          Get the xmbeanCode.
 String getXMBeanDD()
          Get the xmbeanDD.
 Element getXMBeanDescriptor()
          Get the xmbeanDescriptor.
 void removeAttributes(List<ServiceAttributeMetaData> aAttributeList)
          Remove a list of Attributes
 void removeDependency(ServiceDependencyMetaData dependency)
          Remove a dependency
 void setAliases(List<String> aliases)
          Set the aliases.
 void setAnnotations(List<ServiceAnnotationMetaData> annotations)
          Set the service annotations
 void setAttributes(List<ServiceAttributeMetaData> attributes)
          Set the attributes.
 void setClassLoaderName(ObjectName classLoaderName)
          Set the classLoaderName.
 void setCode(String code)
          Set the code.
 void setConstructor(ServiceConstructorMetaData constructor)
          Set the constructor.
 void setDependencies(List<ServiceDependencyMetaData> dependencies)
          Set the dependencies.
 void setInterfaceName(String interfaceName)
          Set the interfaceName.
 void setMode(org.jboss.dependency.spi.ControllerMode mode)
          Set the mode.
 void setObjectName(ObjectName objectName)
          Set the objectName.
 void setXMBeanCode(String xmbeanCode)
          Set the xmbeanCode.
 void setXMBeanDD(String xmbeanDD)
          Set the xmbeanDD.
 void setXMBeanDescriptor(Element xmbeanDescriptor)
          Set the xmbeanDescriptor.
 
Methods inherited from class org.jboss.system.metadata.AbstractMetaDataVisitorNode
getChildren, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XMBEAN_CODE

public static final String XMBEAN_CODE
The default XMBean class, when one is not specified

See Also:
Constant Field Values
Constructor Detail

ServiceMetaData

public ServiceMetaData()
Method Detail

getObjectName

public ObjectName getObjectName()
Get the objectName.

Returns:
the objectName.

setObjectName

public void setObjectName(ObjectName objectName)
Set the objectName.

Parameters:
objectName - the objectName.

getCode

public String getCode()
Get the code.

Returns:
the code.

setCode

public void setCode(String code)
Set the code.

Parameters:
code - the code.

getMode

public org.jboss.dependency.spi.ControllerMode getMode()
Get the mode.

Returns:
the mode.

setMode

public void setMode(org.jboss.dependency.spi.ControllerMode mode)
Set the mode.

Parameters:
mode - the mode.

getConstructor

public ServiceConstructorMetaData getConstructor()
Get the constructor.

Returns:
the constructor.

setConstructor

public void setConstructor(ServiceConstructorMetaData constructor)
Set the constructor.

Parameters:
constructor - the constructor.

getInterfaceName

public String getInterfaceName()
Get the interfaceName.

Returns:
the interfaceName.

setInterfaceName

public void setInterfaceName(String interfaceName)
Set the interfaceName.

Parameters:
interfaceName - the interfaceName.

getXMBeanCode

public String getXMBeanCode()
Get the xmbeanCode.

Returns:
the xmbeanCode.

setXMBeanCode

public void setXMBeanCode(String xmbeanCode)
Set the xmbeanCode.

Parameters:
xmbeanCode - the xmbeanCode.

getXMBeanDD

public String getXMBeanDD()
Get the xmbeanDD.

Returns:
the xmbeanDD.

setXMBeanDD

public void setXMBeanDD(String xmbeanDD)
Set the xmbeanDD.

Parameters:
xmbeanDD - the xmbeanDD.

getXMBeanDescriptor

public Element getXMBeanDescriptor()
Get the xmbeanDescriptor.

Returns:
the xmbeanDescriptor.

setXMBeanDescriptor

public void setXMBeanDescriptor(Element xmbeanDescriptor)
Set the xmbeanDescriptor.

Parameters:
xmbeanDescriptor - the xmbeanDescriptor.

addAttribute

public void addAttribute(ServiceAttributeMetaData serviceAttributeMetaData)
Add an attribute

Parameters:
serviceAttributeMetaData -

addAttributes

public void addAttributes(List<ServiceAttributeMetaData> aAttributeList)
Add an attribute

Parameters:
attribute -

removeAttributes

public void removeAttributes(List<ServiceAttributeMetaData> aAttributeList)
Remove a list of Attributes

Parameters:
aAttributeList -

getAttributes

public List<ServiceAttributeMetaData> getAttributes()
Get the attributes.

Returns:
the attributes.

setAttributes

public void setAttributes(List<ServiceAttributeMetaData> attributes)
Set the attributes.

Parameters:
attributes - the attributes.

getDependencies

public List<ServiceDependencyMetaData> getDependencies()
Get the dependencies.

Returns:
the dependencies.

addDependency

public void addDependency(ServiceDependencyMetaData serviceDependencyMetaData)
Add dependency

Parameters:
dependencyList -

addDependencies

public void addDependencies(List<ServiceDependencyMetaData> dependencyList)
Add dependencies

Parameters:
dependencyList -

removeDependency

public void removeDependency(ServiceDependencyMetaData dependency)
Remove a dependency

Parameters:
dependency -

setDependencies

public void setDependencies(List<ServiceDependencyMetaData> dependencies)
Set the dependencies.

Parameters:
dependencies - the dependencies.

getAnnotations

public List<ServiceAnnotationMetaData> getAnnotations()
Get the service annotations

Returns:
the annotations

setAnnotations

public void setAnnotations(List<ServiceAnnotationMetaData> annotations)
Set the service annotations

Parameters:
annotation - - the annotations metadata

getClassLoaderName

public ObjectName getClassLoaderName()
Get the classLoaderName.

Returns:
the classLoaderName.

setClassLoaderName

public void setClassLoaderName(ObjectName classLoaderName)
Set the classLoaderName.

Parameters:
classLoaderName - the classLoaderName.

getAliases

public List<String> getAliases()
Get the aliases.

Returns:
aliases

setAliases

public void setAliases(List<String> aliases)
Set the aliases.

Parameters:
aliases - the aliases

addChildren

protected void addChildren(Set<ServiceMetaDataVisitorNode> children)
Description copied from class: AbstractMetaDataVisitorNode
Add to the children

Overrides:
addChildren in class AbstractMetaDataVisitorNode
Parameters:
children - the children


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.