Class ConnectorDescriptor

    • Constructor Detail

      • ConnectorDescriptor

        public ConnectorDescriptor()
    • Method Detail

      • getRequiredWorkContexts

        public Set getRequiredWorkContexts()
      • addRequiredWorkContext

        public void addRequiredWorkContext​(String workContextClass)
      • removeRequiredWorkContext

        public void removeRequiredWorkContext​(String workContextClass)
      • getConnectionFactoryInterface

        public String getConnectionFactoryInterface()
        Deprecated.
        Returns:
      • setConnectionFactoryInterface

        public void setConnectionFactoryInterface​(String connectionFactoryInterface)
        Deprecated.
        Parameters:
        connectionFactoryInterface -
      • getConnectionFactoryImpl

        public String getConnectionFactoryImpl()
        Deprecated.
      • setConnectionFactoryImpl

        public void setConnectionFactoryImpl​(String connectionFactoryImpl)
        Deprecated.
        Parameters:
        connectionFactoryImpl -
      • getConnectionInterface

        public String getConnectionInterface()
        Deprecated.
        Returns:
      • setConnectionInterface

        public void setConnectionInterface​(String connectionInterface)
        Deprecated.
        Parameters:
        connectionInterface -
      • getConnectionImpl

        public String getConnectionImpl()
        Deprecated.
        Returns:
      • setConnectionImpl

        public void setConnectionImpl​(String connectionImpl)
        Deprecated.
        Parameters:
        connectionImpl -
      • getManagedConnectionFactoryImpl

        public String getManagedConnectionFactoryImpl()
        Deprecated.
        Returns:
      • setManagedConnectionFactoryImpl

        public void setManagedConnectionFactoryImpl​(String managedConnectionFactoryImpl)
        Deprecated.
        Parameters:
        managedConnectionFactoryImpl -
      • supportsReauthentication

        public boolean supportsReauthentication()
        Deprecated.
        Returns:
      • getReauthenticationSupport

        public String getReauthenticationSupport()
        Deprecated.
        Returns:
      • setReauthenticationSupport

        public void setReauthenticationSupport​(boolean reauthenticationSupport)
        Deprecated.
        Parameters:
        reauthenticationSupport -
      • setReauthenticationSupport

        public void setReauthenticationSupport​(String reauthSupport)
        Deprecated.
      • getTransSupport

        public String getTransSupport()
        Deprecated.
        Returns:
      • getTransactionSupport

        public int getTransactionSupport()
        Deprecated.
        Returns:
      • setTransactionSupport

        public void setTransactionSupport​(int transactionSupport)
        Deprecated.
        Parameters:
        transactionSupport -
      • setTransactionSupport

        public void setTransactionSupport​(String support)
        Deprecated.
        Parameters:
        support -
      • getAuthMechanisms

        public Set getAuthMechanisms()
        Deprecated.
        Returns:
      • getServiceReferenceDescriptors

        public Set getServiceReferenceDescriptors()
        Returns:
        a set of service-ref from this bundle or null if none
      • getSecurityPermissions

        public Set getSecurityPermissions()
        Set of SecurityPermission objects
        Returns:
      • addAuthMechanism

        public boolean addAuthMechanism​(AuthMechanism mech)
        Deprecated.
        Parameters:
        mech -
        Returns:
      • removeAuthMechanism

        public boolean removeAuthMechanism​(AuthMechanism mech)
        Deprecated.
        Parameters:
        mech -
        Returns:
      • addAuthMechanism

        public boolean addAuthMechanism​(int mech)
        Deprecated.
        Parameters:
        mech -
        Returns:
      • removeAuthMechanism

        public boolean removeAuthMechanism​(int mech)
        Deprecated.
        Parameters:
        mech -
        Returns:
      • addSecurityPermission

        public void addSecurityPermission​(SecurityPermission permission)
        Add a SecurityPermission object to the set
        Parameters:
        permission -
      • removeSecurityPermission

        public void removeSecurityPermission​(SecurityPermission permission)
        Remove a SecurityPermission object to the set
        Parameters:
        permission -
      • getResourceAdapterClass

        public String getResourceAdapterClass()
      • setResourceAdapterClass

        public void setResourceAdapterClass​(String raClass)
      • getConfigProperties

        public Set getConfigProperties()
        Set of ConnectorConfigProperty
        Returns:
      • addConfigProperty

        public void addConfigProperty​(ConnectorConfigProperty configProperty)
        add a configProperty to the set
        Parameters:
        configProperty -
      • removeConfigProperty

        public void removeConfigProperty​(ConnectorConfigProperty configProperty)
        remove a configProperty from the set
        Parameters:
        configProperty -
      • setLicenseDescriptor

        public void setLicenseDescriptor​(LicenseDescriptor licenseDescriptor)
      • getAdminObjects

        public Set getAdminObjects()
        Returns:
        admin objects
      • addAdminObject

        public void addAdminObject​(AdminObject admin)
        set admin object
        Parameters:
        admin -
      • removeAdminObject

        public void removeAdminObject​(AdminObject admin)
      • hasAdminObjects

        public boolean hasAdminObjects()
      • getOutBoundDefined

        public boolean getOutBoundDefined()
      • getInBoundDefined

        public boolean getInBoundDefined()
      • getConnectorDescription

        public String getConnectorDescription()
        get the connector description
        Returns:
      • setConnectorDescription

        public void setConnectorDescription​(String description)
        set the connector description
        Parameters:
        description -
      • getVendorName

        public String getVendorName()
        get value for vendorName
        Returns:
      • setVendorName

        public void setVendorName​(String vendorName)
        set value for vendorName
        Parameters:
        vendorName -
      • getEisType

        public String getEisType()
        get eisType
        Returns:
      • setEisType

        public void setEisType​(String eisType)
        set eisType
        Parameters:
        eisType -
      • getVersion

        public String getVersion()
        get value for version
        Returns:
      • setVersion

        public void setVersion​(String version)
        set value for version
        Parameters:
        version -
      • getResourceAdapterVersion

        public String getResourceAdapterVersion()
        get value for resourceadapter version (1.5 schema
        Returns:
        Since:
        1.5
      • setResourceAdapterVersion

        public void setResourceAdapterVersion​(String resourceAdapterVersion)
        set value for resourceadater version (1.5 schema)
        Parameters:
        resourceAdapterVersion -
        Since:
        1.5
      • getDeployName

        public String getDeployName()
        return name used for deployment
        Returns:
      • visit

        public void visit​(DescriptorVisitor aVisitor)
        visit the descriptor and all sub descriptors with a DOL visitor implementation
        Overrides:
        visit in class Descriptor
        Parameters:
        aVisitor - visitor to traverse the descriptors
      • getConnectionDefinitionByCFType

        public ConnectionDefDescriptor getConnectionDefinitionByCFType​(String type)
        Parameters:
        type - The full qualified name for connection factory interface
        Returns:
      • getConnectionDefinitionByCFType

        public ConnectionDefDescriptor getConnectionDefinitionByCFType​(String type,
                                                                       boolean useDefault)
        Parameters:
        type - The full qualified name for connection factory interface
        useDefault - 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.
        Returns:
      • getNumOfSupportedCFs

        public int getNumOfSupportedCFs()
      • print

        public void print​(StringBuilder toStringBuilder)
        A formatted string representing my state.
        Overrides:
        print in class BundleDescriptor
        Parameters:
        toStringBuilder -
      • getSupportedMessageListener

        public MessageListener getSupportedMessageListener​(String type)
        Parameters:
        type - message listener type
        Returns:
      • isMessageListenerSupported

        public boolean isMessageListenerSupported​(String type)
        Deprecated.
        Parameters:
        type -
        Returns:
      • getSunDescriptor

        public SunConnector getSunDescriptor()
        This returns the extra ejb sun specific info not in the RI DID.
        Returns:
        object representation of connector deployment descriptor
      • setSunDescriptor

        public void setSunDescriptor​(SunConnector connector)
        This sets the extra connector sun specific info not in the RI DID.
        Parameters:
        connector - SunConnector object representation of connector deployment descriptor
      • isSpecVersionSet

        public boolean isSpecVersionSet()
        END Deployment Consolidation to Suppport Multiple Deployment API Clients
      • addConnectorAnnotation

        public void addConnectorAnnotation​(AnnotationInfo c)
      • setValidConnectorAnnotationProcessed

        public void setValidConnectorAnnotationProcessed​(boolean processed)
      • getValidConnectorAnnotationProcessed

        public boolean getValidConnectorAnnotationProcessed()
      • addConfigPropertyAnnotation

        public void addConfigPropertyAnnotation​(String className,
                                                AnnotationInfo info)
      • getConfigPropertyProcessedClasses

        public Set<String> getConfigPropertyProcessedClasses()
      • addConfigPropertyProcessedClass

        public void addConfigPropertyProcessedClass​(String className)
      • getDefaultResourcesNames

        public 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
        Returns:
        default resources' names
      • addDefaultResourceName

        public void addDefaultResourceName​(String resourceName)
        add a default resource to list of default resource names
        Parameters:
        resourceName - resource-name