|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.RootDeploymentDescriptor
com.sun.enterprise.deployment.BundleDescriptor
com.sun.enterprise.deployment.ConnectorDescriptor
public class ConnectorDescriptor
Deployment Information for connector
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.RootDeploymentDescriptor |
|---|
classLoader, extensions, moduleDescriptor, moduleID |
| Fields inherited from class com.sun.enterprise.deployment.Descriptor |
|---|
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED |
| Constructor Summary | |
|---|---|
ConnectorDescriptor()
|
|
| Method Summary | |
|---|---|
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(java.lang.String className,
AnnotationInfo info)
|
void |
addConfigPropertyProcessedClass(java.lang.String className)
|
void |
addConnectorAnnotation(AnnotationInfo c)
|
void |
addDefaultResourceName(java.lang.String resourceName)
add a default resource to list of default resource names |
void |
addRequiredWorkContext(java.lang.String workContextClass)
|
void |
addSecurityPermission(SecurityPermission permission)
Add a SecurityPermission object to the set |
AdminObject |
getAdminObject(java.lang.String adminObjectInterface,
java.lang.String adminObjectClass)
|
java.util.Set |
getAdminObjects()
|
java.util.List<AdminObject> |
getAdminObjectsByType(java.lang.String type)
|
java.util.Map<java.lang.String,java.util.Set<AnnotationInfo>> |
getAllConfigPropertyAnnotations()
|
java.util.Set |
getAuthMechanisms()
Deprecated. |
java.util.Set |
getConfigProperties()
Set of ConnectorConfigProperty |
java.util.Collection<AnnotationInfo> |
getConfigPropertyAnnotations(java.lang.String className)
|
java.util.Set<java.lang.String> |
getConfigPropertyProcessedClasses()
|
ConnectionDefDescriptor |
getConnectionDefinitionByCFType(java.lang.String type)
|
ConnectionDefDescriptor |
getConnectionDefinitionByCFType(java.lang.String type,
boolean useDefault)
|
java.lang.String |
getConnectionFactoryImpl()
Deprecated. |
java.lang.String |
getConnectionFactoryInterface()
Deprecated. |
java.lang.String |
getConnectionImpl()
Deprecated. |
java.lang.String |
getConnectionInterface()
Deprecated. |
java.util.Set<AnnotationInfo> |
getConnectorAnnotations()
|
java.lang.String |
getConnectorDescription()
get the connector description |
java.util.Collection<java.lang.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 |
java.lang.String |
getDefaultSpecVersion()
|
java.lang.String |
getDeployName()
return name used for deployment |
java.lang.String |
getEisType()
get eisType |
boolean |
getInBoundDefined()
|
InboundResourceAdapter |
getInboundResourceAdapter()
|
LicenseDescriptor |
getLicenseDescriptor()
|
java.lang.String |
getManagedConnectionFactoryImpl()
Deprecated. |
XModuleType |
getModuleType()
|
int |
getNumOfSupportedCFs()
|
boolean |
getOutBoundDefined()
|
OutboundResourceAdapter |
getOutboundResourceAdapter()
|
java.lang.String |
getReauthenticationSupport()
Deprecated. |
java.util.Set |
getRequiredWorkContexts()
|
java.lang.String |
getResourceAdapterClass()
|
java.lang.String |
getResourceAdapterVersion()
get value for resourceadapter version (1.5 schema |
java.util.Set |
getSecurityPermissions()
Set of SecurityPermission objects |
java.util.Set |
getServiceReferenceDescriptors()
|
SunConnector |
getSunDescriptor()
This returns the extra ejb sun specific info not in the RI DID. |
MessageListener |
getSupportedMessageListener(java.lang.String type)
|
int |
getTransactionSupport()
Deprecated. |
java.lang.String |
getTransSupport()
Deprecated. |
boolean |
getValidConnectorAnnotationProcessed()
|
java.lang.String |
getVendorName()
get value for vendorName |
java.lang.String |
getVersion()
get value for version |
boolean |
hasAdminObjects()
|
boolean |
isEmpty()
Return true if this root deployment descriptor does not describe anything |
boolean |
isMessageListenerSupported(java.lang.String type)
Deprecated. |
boolean |
isSpecVersionSet()
END Deployment Consolidation to Suppport Multiple Deployment API Clients |
void |
print(java.lang.StringBuffer toStringBuffer)
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(java.lang.String workContextClass)
|
void |
removeSecurityPermission(SecurityPermission permission)
Remove a SecurityPermission object to the set |
void |
setConnectionFactoryImpl(java.lang.String connectionFactoryImpl)
Deprecated. |
void |
setConnectionFactoryInterface(java.lang.String connectionFactoryInterface)
Deprecated. |
void |
setConnectionImpl(java.lang.String connectionImpl)
Deprecated. |
void |
setConnectionInterface(java.lang.String connectionInterface)
Deprecated. |
void |
setConnectorDescription(java.lang.String description)
set the connector description |
void |
setEisType(java.lang.String eisType)
set eisType |
void |
setInboundResourceAdapter(InboundResourceAdapter inboundRA)
|
void |
setLicenseDescriptor(LicenseDescriptor licenseDescriptor)
|
void |
setManagedConnectionFactoryImpl(java.lang.String managedConnectionFactoryImpl)
Deprecated. |
void |
setOutboundResourceAdapter(OutboundResourceAdapter outboundRA)
|
void |
setReauthenticationSupport(boolean reauthenticationSupport)
Deprecated. |
void |
setReauthenticationSupport(java.lang.String reauthSupport)
Deprecated. |
void |
setResourceAdapterClass(java.lang.String raClass)
|
void |
setResourceAdapterVersion(java.lang.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(java.lang.String support)
Deprecated. |
void |
setValidConnectorAnnotationProcessed(boolean processed)
|
void |
setVendorName(java.lang.String vendorName)
set value for vendorName |
void |
setVersion(java.lang.String version)
set value for version |
boolean |
supportsReauthentication()
Deprecated. |
void |
visit(ConnectorVisitor aVisitor)
visit the descriptor and all sub descriptors with a DOL visitor implementation |
void |
visit(DescriptorVisitor aVisitor)
visit the descriptor and all sub descriptors with a DOL visitor implementation |
| Methods inherited from class com.sun.enterprise.deployment.RootDeploymentDescriptor |
|---|
addExtensionDescriptor, getDisplayName, getExtensionsDescriptors, getExtensionsDescriptors, getExtensionsDescriptors, getMainDescriptor, getModuleDescriptor, getName, getSchemaLocation, getSpecVersion, isDDWithNoAnnotationAllowed, isExtensionDescriptor, isFullAttribute, isFullFlag, setClassLoader, setDisplayName, setFullAttribute, setFullFlag, setModuleDescriptor, setModuleID, setName, setSchemaLocation, setSpecVersion |
| Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor |
|---|
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectorDescriptor()
| Method Detail |
|---|
public java.util.Set getRequiredWorkContexts()
public void addRequiredWorkContext(java.lang.String workContextClass)
public void removeRequiredWorkContext(java.lang.String workContextClass)
public java.lang.String getDefaultSpecVersion()
getDefaultSpecVersion in class RootDeploymentDescriptorpublic java.lang.String getConnectionFactoryInterface()
public void setConnectionFactoryInterface(java.lang.String connectionFactoryInterface)
public java.lang.String getConnectionFactoryImpl()
public void setConnectionFactoryImpl(java.lang.String connectionFactoryImpl)
public java.lang.String getConnectionInterface()
public void setConnectionInterface(java.lang.String connectionInterface)
public java.lang.String getConnectionImpl()
public void setConnectionImpl(java.lang.String connectionImpl)
public java.lang.String getManagedConnectionFactoryImpl()
public void setManagedConnectionFactoryImpl(java.lang.String managedConnectionFactoryImpl)
public boolean supportsReauthentication()
public java.lang.String getReauthenticationSupport()
public void setReauthenticationSupport(boolean reauthenticationSupport)
public void setReauthenticationSupport(java.lang.String reauthSupport)
public java.lang.String getTransSupport()
public int getTransactionSupport()
public void setTransactionSupport(int transactionSupport)
public void setTransactionSupport(java.lang.String support)
public java.util.Set getAuthMechanisms()
public java.util.Set getServiceReferenceDescriptors()
getServiceReferenceDescriptors in class BundleDescriptorpublic java.util.Set getSecurityPermissions()
public boolean addAuthMechanism(AuthMechanism mech)
public boolean removeAuthMechanism(AuthMechanism mech)
public boolean addAuthMechanism(int mech)
public boolean removeAuthMechanism(int mech)
public void addSecurityPermission(SecurityPermission permission)
public void removeSecurityPermission(SecurityPermission permission)
public java.lang.String getResourceAdapterClass()
public void setResourceAdapterClass(java.lang.String raClass)
public java.util.Set getConfigProperties()
public void addConfigProperty(ConnectorConfigProperty configProperty)
public void removeConfigProperty(ConnectorConfigProperty 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 java.util.Set getAdminObjects()
public void addAdminObject(AdminObject admin)
public void removeAdminObject(AdminObject admin)
public boolean hasAdminObjects()
public boolean getOutBoundDefined()
public boolean getInBoundDefined()
public java.lang.String getConnectorDescription()
public void setConnectorDescription(java.lang.String description)
public java.lang.String getVendorName()
public void setVendorName(java.lang.String vendorName)
public java.lang.String getEisType()
public void setEisType(java.lang.String eisType)
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
public java.lang.String getResourceAdapterVersion()
public void setResourceAdapterVersion(java.lang.String resourceAdapterVersion)
public java.lang.String getDeployName()
public void visit(DescriptorVisitor aVisitor)
visit in class DescriptoraVisitor - visitor to traverse the descriptorspublic void visit(ConnectorVisitor aVisitor)
aVisitor - visitor to traverse the descriptorspublic ConnectionDefDescriptor getConnectionDefinitionByCFType(java.lang.String type)
public ConnectionDefDescriptor getConnectionDefinitionByCFType(java.lang.String type,
boolean useDefault)
public int getNumOfSupportedCFs()
public AdminObject getAdminObject(java.lang.String adminObjectInterface,
java.lang.String adminObjectClass)
public java.util.List<AdminObject> getAdminObjectsByType(java.lang.String type)
public void print(java.lang.StringBuffer toStringBuffer)
print in class BundleDescriptorpublic XModuleType getModuleType()
getModuleType in class BundleDescriptorpublic MessageListener getSupportedMessageListener(java.lang.String type)
type - message listener typepublic boolean isMessageListenerSupported(java.lang.String type)
public boolean isEmpty()
RootDeploymentDescriptor
isEmpty in class RootDeploymentDescriptorpublic SunConnector getSunDescriptor()
public void setSunDescriptor(SunConnector connector)
connector - SunConnector object representation of connector deployment descriptorpublic boolean isSpecVersionSet()
public void addConnectorAnnotation(AnnotationInfo c)
public java.util.Set<AnnotationInfo> getConnectorAnnotations()
public void setValidConnectorAnnotationProcessed(boolean processed)
public boolean getValidConnectorAnnotationProcessed()
public void addConfigPropertyAnnotation(java.lang.String className,
AnnotationInfo info)
public java.util.Collection<AnnotationInfo> getConfigPropertyAnnotations(java.lang.String className)
public java.util.Map<java.lang.String,java.util.Set<AnnotationInfo>> getAllConfigPropertyAnnotations()
public java.util.Set<java.lang.String> getConfigPropertyProcessedClasses()
public void addConfigPropertyProcessedClass(java.lang.String className)
public java.util.Collection<java.lang.String> getDefaultResourcesNames()
public void addDefaultResourceName(java.lang.String resourceName)
resourceName - resource-name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||