Class AdminObjectImpl
java.lang.Object
org.jboss.jca.common.metadata.spec.AdminObjectImpl
- All Implemented Interfaces:
Serializable,Cloneable,CopyableMetaData,JCAMetadata,AdminObject,IdDecoratedMetadata
An admin object implementation
- Author:
- Stefano Maestri, Jesper Pedersen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAdminObjectImpl(XsdString adminobjectInterface, XsdString adminobjectClass, List<ConfigProperty> configProperty, String id) -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanvoidforceConfigProperties(List<ConfigProperty> newContents) Force configProperties with new content.getId()inthashCode()toString()
-
Constructor Details
-
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 Details
-
getAdminobjectInterface
- Specified by:
getAdminobjectInterfacein interfaceAdminObject
-
getAdminobjectClass
- Specified by:
getAdminobjectClassin interfaceAdminObject
-
getConfigProperties
- Specified by:
getConfigPropertiesin interfaceAdminObject
-
forceConfigProperties
Force configProperties with new content. This method is thread safe- Parameters:
newContents- the list of new properties
-
getId
- Specified by:
getIdin interfaceIdDecoratedMetadata
-
copy
- Specified by:
copyin interfaceCopyableMetaData
-
hashCode
public int hashCode() -
equals
-
toString
-