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 ResourceAdapter
public java.util.List<ConfigProperty> getConfigProperties()
getConfigProperties
in interface ResourceAdapter
public void forceConfigProperties(java.util.List<ConfigProperty> newContents)
newContents
- the list of new propertiespublic OutboundResourceAdapter getOutboundResourceadapter()
getOutboundResourceadapter
in interface ResourceAdapter
public InboundResourceAdapter getInboundResourceadapter()
getInboundResourceadapter
in interface ResourceAdapter
public java.util.List<AdminObject> getAdminObjects()
getAdminObjects
in interface ResourceAdapter
public void forceAdminObjects(java.util.List<AdminObject> newContent)
newContent
- the list of new propertiespublic java.util.List<SecurityPermission> getSecurityPermissions()
getSecurityPermissions
in interface ResourceAdapter
public java.lang.String getId()
getId
in interface IdDecoratedMetadata
public void validate() throws ValidateException
validate
in interface ResourceAdapter
validate
in interface ValidatableMetadata
ValidateException
- 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 CopyableMetaData
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)