Class AdminObjectImpl
- java.lang.Object
-
- org.jboss.jca.common.metadata.spec.AdminObjectImpl
-
- All Implemented Interfaces:
Serializable,Cloneable,CopyableMetaData,JCAMetadata,AdminObject,IdDecoratedMetadata
public class AdminObjectImpl extends Object implements AdminObject
An admin object implementation- Author:
- Stefano Maestri, Jesper Pedersen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AdminObjectImpl(XsdString adminobjectInterface, XsdString adminobjectClass, List<ConfigProperty> configProperty, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyableMetaDatacopy()booleanequals(Object obj)voidforceConfigProperties(List<ConfigProperty> newContents)Force configProperties with new content.XsdStringgetAdminobjectClass()XsdStringgetAdminobjectInterface()List<ConfigProperty>getConfigProperties()StringgetId()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
AdminObjectImpl
public AdminObjectImpl(XsdString adminobjectInterface, XsdString adminobjectClass, List<ConfigProperty> configProperty, String id)
- Parameters:
adminobjectInterface- full qualified name of the interfaceadminobjectClass- full qualified name of the implementation classconfigProperty- List of config propetiesid- xmlid
-
-
Method Detail
-
getAdminobjectInterface
public XsdString getAdminobjectInterface()
- Specified by:
getAdminobjectInterfacein interfaceAdminObject
-
getAdminobjectClass
public XsdString getAdminobjectClass()
- Specified by:
getAdminobjectClassin interfaceAdminObject
-
getConfigProperties
public List<ConfigProperty> getConfigProperties()
- Specified by:
getConfigPropertiesin interfaceAdminObject
-
forceConfigProperties
public void forceConfigProperties(List<ConfigProperty> newContents)
Force configProperties with new content. This method is thread safe- Parameters:
newContents- the list of new properties
-
getId
public String getId()
- Specified by:
getIdin interfaceIdDecoratedMetadata
-
copy
public CopyableMetaData copy()
- Specified by:
copyin interfaceCopyableMetaData
-
-