public class ConnectorDescriptor extends CommonResourceBundleDescriptor
rootNodes
classLoader, deplLogger, extensions, moduleDescriptor, moduleID
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
Constructor and Description |
---|
ConnectorDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
addAdminObject(AdminObject admin)
set admin object
|
boolean |
addAuthMechanism(AuthMechanism mech)
Deprecated.
|
boolean |
addAuthMechanism(int mech)
Deprecated.
|
void |
addConfigProperty(ConnectorConfigProperty configProperty)
add a configProperty to the set
|
void |
addConfigPropertyAnnotation(String className,
AnnotationInfo info) |
void |
addConfigPropertyProcessedClass(String className) |
void |
addConnectorAnnotation(AnnotationInfo c) |
void |
addDefaultResourceName(String resourceName)
add a default resource to list of default resource names
|
void |
addRequiredWorkContext(String workContextClass) |
void |
addSecurityPermission(SecurityPermission permission)
Add a SecurityPermission object to the set
|
AdminObject |
getAdminObject(String adminObjectInterface,
String adminObjectClass) |
Set |
getAdminObjects() |
List<AdminObject> |
getAdminObjectsByClass(String adminObjectClass) |
List<AdminObject> |
getAdminObjectsByType(String type) |
Map<String,Set<AnnotationInfo>> |
getAllConfigPropertyAnnotations() |
Set |
getAuthMechanisms()
Deprecated.
|
ComponentVisitor |
getBundleVisitor() |
Set |
getConfigProperties()
Set of ConnectorConfigProperty
|
Collection<AnnotationInfo> |
getConfigPropertyAnnotations(String className) |
Set<String> |
getConfigPropertyProcessedClasses() |
ConnectionDefDescriptor |
getConnectionDefinitionByCFType(String type) |
ConnectionDefDescriptor |
getConnectionDefinitionByCFType(String type,
boolean useDefault) |
String |
getConnectionFactoryImpl()
Deprecated.
|
String |
getConnectionFactoryInterface()
Deprecated.
|
String |
getConnectionImpl()
Deprecated.
|
String |
getConnectionInterface()
Deprecated.
|
Set<AnnotationInfo> |
getConnectorAnnotations() |
String |
getConnectorDescription()
get the connector description
|
Collection<String> |
getDefaultResourcesNames()
names of default resources created for this resource-adapter
computed at runtime (during RAR start)
Used while detecting RARs referred by deployed applications
|
String |
getDefaultSpecVersion() |
String |
getDeployName()
return name used for deployment
|
String |
getEisType()
get eisType
|
boolean |
getInBoundDefined() |
InboundResourceAdapter |
getInboundResourceAdapter() |
LicenseDescriptor |
getLicenseDescriptor() |
String |
getManagedConnectionFactoryImpl()
Deprecated.
|
ArchiveType |
getModuleType() |
int |
getNumOfSupportedCFs() |
boolean |
getOutBoundDefined() |
OutboundResourceAdapter |
getOutboundResourceAdapter() |
String |
getReauthenticationSupport()
Deprecated.
|
Set |
getRequiredWorkContexts() |
String |
getResourceAdapterClass() |
String |
getResourceAdapterVersion()
get value for resourceadapter version (1.5 schema
|
Set |
getSecurityPermissions()
Set of SecurityPermission objects
|
Set |
getServiceReferenceDescriptors() |
SunConnector |
getSunDescriptor()
This returns the extra ejb sun specific info not in the RI DID.
|
MessageListener |
getSupportedMessageListener(String type) |
DescriptorVisitor |
getTracerVisitor() |
int |
getTransactionSupport()
Deprecated.
|
String |
getTransSupport()
Deprecated.
|
boolean |
getValidConnectorAnnotationProcessed() |
String |
getVendorName()
get value for vendorName
|
String |
getVersion()
get value for version
|
boolean |
hasAdminObjects() |
boolean |
isEmpty()
Return true if this root deployment descriptor does not describe anything
|
boolean |
isMessageListenerSupported(String type)
Deprecated.
|
boolean |
isSpecVersionSet()
END
Deployment Consolidation to Suppport Multiple Deployment API Clients
|
void |
print(StringBuilder toStringBuilder)
A formatted string representing my state.
|
void |
removeAdminObject(AdminObject admin) |
boolean |
removeAuthMechanism(AuthMechanism mech)
Deprecated.
|
boolean |
removeAuthMechanism(int mech)
Deprecated.
|
void |
removeConfigProperty(ConnectorConfigProperty configProperty)
remove a configProperty from the set
|
void |
removeRequiredWorkContext(String workContextClass) |
void |
removeSecurityPermission(SecurityPermission permission)
Remove a SecurityPermission object to the set
|
void |
setConnectionFactoryImpl(String connectionFactoryImpl)
Deprecated.
|
void |
setConnectionFactoryInterface(String connectionFactoryInterface)
Deprecated.
|
void |
setConnectionImpl(String connectionImpl)
Deprecated.
|
void |
setConnectionInterface(String connectionInterface)
Deprecated.
|
void |
setConnectorDescription(String description)
set the connector description
|
void |
setEisType(String eisType)
set eisType
|
void |
setInboundResourceAdapter(InboundResourceAdapter inboundRA) |
void |
setLicenseDescriptor(LicenseDescriptor licenseDescriptor) |
void |
setManagedConnectionFactoryImpl(String managedConnectionFactoryImpl)
Deprecated.
|
void |
setOutboundResourceAdapter(OutboundResourceAdapter outboundRA) |
void |
setReauthenticationSupport(boolean reauthenticationSupport)
Deprecated.
|
void |
setReauthenticationSupport(String reauthSupport)
Deprecated.
|
void |
setResourceAdapterClass(String raClass) |
void |
setResourceAdapterVersion(String resourceAdapterVersion)
set value for resourceadater version (1.5 schema)
|
void |
setSunDescriptor(SunConnector connector)
This sets the extra connector sun specific info not in the RI DID.
|
void |
setTransactionSupport(int transactionSupport)
Deprecated.
|
void |
setTransactionSupport(String support)
Deprecated.
|
void |
setValidConnectorAnnotationProcessed(boolean processed) |
void |
setVendorName(String vendorName)
set value for vendorName
|
void |
setVersion(String version)
set value for version
|
boolean |
supportsReauthentication()
Deprecated.
|
void |
visit(DescriptorVisitor aVisitor)
visit the descriptor and all sub descriptors with a DOL visitor implementation
|
addResourceDescriptor, getAllResourcesDescriptors, getAllResourcesDescriptors, getResourceDescriptor, getResourceDescriptors, removeResourceDescriptor
addBundleDescriptor, addEntityManagerFactory, addManagedBean, addMessageDestination, addRole, addRole, addRootNode, findDefaultPU, findReferencedPU, findReferencedPUs, findReferencedPUsViaPCRefs, findReferencedPUsViaPURefs, findReferencedPUViaEMFRef, findReferencedPUViaEMRef, getApplication, getClassLoader, getCompatibility, getDeploymentDescriptorDir, getEntityManagerFactories, getEntityManagerFactory, getInjectableResources, getInjectableResourcesByClass, getInjectionInfoByClass, getKeepState, getManagedBeanByBeanClass, getManagedBeans, getMessageDestinationByName, getMessageDestinations, getModuleID, getModuleName, getNamedDescriptorsFrom, getNamedReferencePairsFrom, getPostConstructDescriptorByClass, getPreDestroyDescriptorByClass, getRoles, getRootNode, getUniqueFriendlyId, getVisiblePUs, getWebServiceEndpointByName, getWebServices, getWsdlDir, hasManagedBeanByBeanClass, hasMessageDestinationByName, hasWebServiceClients, hasWebServices, isApplication, isDDWithNoAnnotationAllowed, isDefaultGroupPrincipalMapping, isFullAttribute, isFullFlag, isPackagedAsSingleModule, isPolicyModified, isStandalone, removeMessageDestination, removeRole, setApplication, setCompatibility, setDefaultGroupPrincipalMapping, setFullAttribute, setFullFlag, setKeepState, setPolicyModified, visit
addExtensionDescriptor, getDisplayName, getExtensionsDescriptors, getExtensionsDescriptors, getExtensionsDescriptors, getMainDescriptor, getModuleDescriptor, getName, getSchemaLocation, getSpecVersion, isExtensionDescriptor, setClassLoader, setDisplayName, setModuleDescriptor, setModuleID, setName, setSchemaLocation, setSpecVersion
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setSmallIconUri
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public Set getRequiredWorkContexts()
public void addRequiredWorkContext(String workContextClass)
public void removeRequiredWorkContext(String workContextClass)
public String getDefaultSpecVersion()
getDefaultSpecVersion
in class RootDeploymentDescriptor
public String getConnectionFactoryInterface()
public void setConnectionFactoryInterface(String connectionFactoryInterface)
connectionFactoryInterface
- public String getConnectionFactoryImpl()
public void setConnectionFactoryImpl(String connectionFactoryImpl)
connectionFactoryImpl
- public String getConnectionInterface()
public void setConnectionInterface(String connectionInterface)
connectionInterface
- public String getConnectionImpl()
public void setConnectionImpl(String connectionImpl)
connectionImpl
- public String getManagedConnectionFactoryImpl()
public void setManagedConnectionFactoryImpl(String managedConnectionFactoryImpl)
managedConnectionFactoryImpl
- public boolean supportsReauthentication()
public String getReauthenticationSupport()
public void setReauthenticationSupport(boolean reauthenticationSupport)
reauthenticationSupport
- public void setReauthenticationSupport(String reauthSupport)
public String getTransSupport()
public int getTransactionSupport()
public void setTransactionSupport(int transactionSupport)
transactionSupport
- public void setTransactionSupport(String support)
support
- public Set getAuthMechanisms()
public Set getServiceReferenceDescriptors()
public Set getSecurityPermissions()
public boolean addAuthMechanism(AuthMechanism mech)
mech
- public boolean removeAuthMechanism(AuthMechanism mech)
mech
- public boolean addAuthMechanism(int mech)
mech
- public boolean removeAuthMechanism(int mech)
mech
- public void addSecurityPermission(SecurityPermission permission)
permission
- public void removeSecurityPermission(SecurityPermission permission)
permission
- public String getResourceAdapterClass()
public void setResourceAdapterClass(String raClass)
public Set getConfigProperties()
public void addConfigProperty(ConnectorConfigProperty configProperty)
configProperty
- public void removeConfigProperty(ConnectorConfigProperty configProperty)
configProperty
- public LicenseDescriptor getLicenseDescriptor()
public void setLicenseDescriptor(LicenseDescriptor licenseDescriptor)
public OutboundResourceAdapter getOutboundResourceAdapter()
public void setOutboundResourceAdapter(OutboundResourceAdapter outboundRA)
public InboundResourceAdapter getInboundResourceAdapter()
public void setInboundResourceAdapter(InboundResourceAdapter inboundRA)
public Set getAdminObjects()
public void addAdminObject(AdminObject admin)
admin
- public void removeAdminObject(AdminObject admin)
public boolean hasAdminObjects()
public boolean getOutBoundDefined()
public boolean getInBoundDefined()
public String getConnectorDescription()
public void setConnectorDescription(String description)
description
- public String getVendorName()
public void setVendorName(String vendorName)
vendorName
- public String getEisType()
public void setEisType(String eisType)
eisType
- public String getVersion()
public void setVersion(String version)
version
- public String getResourceAdapterVersion()
public void setResourceAdapterVersion(String resourceAdapterVersion)
resourceAdapterVersion
- public String getDeployName()
public void visit(DescriptorVisitor aVisitor)
visit
in class Descriptor
aVisitor
- visitor to traverse the descriptorspublic ConnectionDefDescriptor getConnectionDefinitionByCFType(String type)
type
- The full qualified name for connection factory interfacepublic ConnectionDefDescriptor getConnectionDefinitionByCFType(String type, boolean useDefault)
type
- The full qualified name for connection factory interfaceuseDefault
- This param is to support the backward compatibility
of connector 1.0 resource adapter where there is
only one connection factory type. If type is null
and useDefault is true, the only CF will be returned.public int getNumOfSupportedCFs()
public AdminObject getAdminObject(String adminObjectInterface, String adminObjectClass)
public List<AdminObject> getAdminObjectsByType(String type)
public List<AdminObject> getAdminObjectsByClass(String adminObjectClass)
public void print(StringBuilder toStringBuilder)
print
in class BundleDescriptor
toStringBuilder
- public ArchiveType getModuleType()
getModuleType
in class BundleDescriptor
public DescriptorVisitor getTracerVisitor()
getTracerVisitor
in class RootDeploymentDescriptor
public ComponentVisitor getBundleVisitor()
getBundleVisitor
in class BundleDescriptor
public MessageListener getSupportedMessageListener(String type)
type
- message listener typepublic boolean isMessageListenerSupported(String type)
type
- public boolean isEmpty()
RootDeploymentDescriptor
isEmpty
in class RootDeploymentDescriptor
public SunConnector getSunDescriptor()
public void setSunDescriptor(SunConnector connector)
connector
- SunConnector object representation of connector deployment descriptorpublic boolean isSpecVersionSet()
public void addConnectorAnnotation(AnnotationInfo c)
public Set<AnnotationInfo> getConnectorAnnotations()
public void setValidConnectorAnnotationProcessed(boolean processed)
public boolean getValidConnectorAnnotationProcessed()
public void addConfigPropertyAnnotation(String className, AnnotationInfo info)
public Collection<AnnotationInfo> getConfigPropertyAnnotations(String className)
public Map<String,Set<AnnotationInfo>> getAllConfigPropertyAnnotations()
public void addConfigPropertyProcessedClass(String className)
public Collection<String> getDefaultResourcesNames()
public void addDefaultResourceName(String resourceName)
resourceName
- resource-nameCopyright © 2021. All rights reserved.