
public class ResourceAdapterImpl extends java.lang.Object implements ResourceAdapter
| Constructor and Description |
|---|
ResourceAdapterImpl(XsdString resourceadapterClass,
java.util.List<ConfigProperty> configProperties,
OutboundResourceAdapter outboundResourceadapter,
InboundResourceAdapter inboundResourceadapter,
java.util.List<AdminObject> adminobjects,
java.util.List<SecurityPermission> securityPermissions,
java.lang.String id)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CopyableMetaData |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj) |
void |
forceAdminObjects(java.util.List<AdminObject> newContent)
Force adminobjects with new content.
|
void |
forceConfigProperties(java.util.List<ConfigProperty> newContents)
Force configProperties with new content.
|
java.util.List<AdminObject> |
getAdminObjects() |
java.util.List<ConfigProperty> |
getConfigProperties() |
java.lang.String |
getId()
Return the String representing xml ID
|
InboundResourceAdapter |
getInboundResourceadapter() |
OutboundResourceAdapter |
getOutboundResourceadapter() |
java.lang.String |
getResourceadapterClass() |
java.util.List<SecurityPermission> |
getSecurityPermissions() |
int |
hashCode() |
ResourceAdapter |
merge(MergeableMetadata<?> jmd)
Merge specification metadata with vendor metadata
|
java.lang.String |
toString() |
void |
validate()
Validate this metadata according validation required by specification
|
public ResourceAdapterImpl(XsdString resourceadapterClass, java.util.List<ConfigProperty> configProperties, OutboundResourceAdapter outboundResourceadapter, InboundResourceAdapter inboundResourceadapter, java.util.List<AdminObject> adminobjects, java.util.List<SecurityPermission> securityPermissions, java.lang.String id)
resourceadapterClass - full qualified name of the classconfigProperties - confi properties for this RAoutboundResourceadapter - outbound RAinboundResourceadapter - inbound RAadminobjects - list of admin objects of this RAsecurityPermissions - supported security permissionsid - XML IDpublic java.lang.String getResourceadapterClass()
getResourceadapterClass in interface ResourceAdapterpublic java.util.List<ConfigProperty> getConfigProperties()
getConfigProperties in interface ResourceAdapterpublic void forceConfigProperties(java.util.List<ConfigProperty> newContents)
newContents - the list of new propertiespublic OutboundResourceAdapter getOutboundResourceadapter()
getOutboundResourceadapter in interface ResourceAdapterpublic InboundResourceAdapter getInboundResourceadapter()
getInboundResourceadapter in interface ResourceAdapterpublic java.util.List<AdminObject> getAdminObjects()
getAdminObjects in interface ResourceAdapterpublic void forceAdminObjects(java.util.List<AdminObject> newContent)
newContent - the list of new propertiespublic java.util.List<SecurityPermission> getSecurityPermissions()
getSecurityPermissions in interface ResourceAdapterpublic java.lang.String getId()
getId in interface IdDecoratedMetadatapublic void validate()
throws ValidateException
validate in interface ResourceAdaptervalidate in interface ValidatableMetadataValidateException - in case of validation failpublic ResourceAdapter merge(MergeableMetadata<?> jmd) throws java.lang.Exception
merge in interface MergeableMetadata<ResourceAdapter>jmd - The vendor metadatajava.lang.Exception - Thrown if an error occurspublic CopyableMetaData copy()
copy in interface CopyableMetaDatapublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 IronJacamar (http://www.ironjacamar.org)