| Package | Description |
|---|---|
| com.sun.appserv.connectors.internal.api |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectorRuntime.createActiveResourceAdapter(String sourcePath,
String moduleName,
ClassLoader loader)
Creates Active resource Adapter which abstracts the rar module.
|
void |
ConnectorRuntime.createActiveResourceAdapterForEmbeddedRar(String moduleName)
Creates Active resource Adapter which abstracts the rar module.
|
ClassLoader |
ConnectorRuntime.createConnectorClassLoader(String moduleDirectory,
ClassLoader parent,
String rarModuleName)
Given the module directory, creates a connector-class-finder (class-loader) for the module
|
ConnectorClassFinder |
ConnectorsClassLoaderUtil.createRARClassLoader(String moduleDir,
ClassLoader deploymentParent,
String moduleName,
List<URI> appLibs) |
void |
ConnectorRuntime.destroyActiveResourceAdapter(String moduleName)
Destroys/deletes the Active resource adapter object from the
connector container.
|
boolean |
ConnectorRuntime.flushConnectionPool(org.glassfish.resourcebase.resources.api.PoolInfo poolInfo)
Flush Connection pool by reinitializing the connections
established in the pool.
|
boolean |
ConnectorRuntime.flushConnectionPool(String poolName)
Flush Connection pool by reinitializing the connections
established in the pool.
|
String |
ConnectorRuntime.getActivationSpecClass(String rarName,
String messageListenerType)
Return the ActivationSpecClass name for given rar and messageListenerType
|
String[] |
ConnectorRuntime.getAdminObjectClassNames(String rarName,
String intfName)
Obtains all the Admin object implementation class names of the admin-object-interface for a rar
|
Map<String,String> |
ConnectorRuntime.getAdminObjectConfigProps(String rarName,
String adminObjectIntf)
Retrieves the admin object javabean properties with default values.
|
Map<String,String> |
ConnectorRuntime.getAdminObjectConfigProps(String rarName,
String adminObjectIntf,
String adminObjectClass)
Retrieves the admin object javabean properties with default values.
|
String[] |
ConnectorRuntime.getAdminObjectInterfaceNames(String rarName)
Obtains all the Admin object interface names of a rar
|
List<String> |
ConnectorRuntime.getConfidentialProperties(String rarName,
String type,
String... keyFields)
Retrieve the "confidential" config properties of specified artifact from a resource-adapter
|
String[] |
ConnectorRuntime.getConnectionDefinitionNames(String rarName)
Obtains all the Connection definition names of a rar
|
Map<String,String> |
ConnectorRuntime.getConnectorConfigJavaBeans(String rarName,
String connectionDefName,
String type)
Retrieves the XXX javabean properties with default values.
|
com.sun.enterprise.deployment.ConnectorDescriptor |
ConnectorRuntime.getConnectorDescriptor(String rarName)
given a resource-adapter name, retrieves the connector-descriptor
either from runtime's registry or by reading the descriptor from
deployment location.
|
static List<URI> |
ConnectorsUtil.getInstalledLibrariesFromManifest(String moduleDirectory,
org.glassfish.api.admin.ServerEnvironment env) |
static String |
ConnectorsUtil.getLocation(String moduleName) |
Map<String,String> |
ConnectorRuntime.getMCFConfigProps(String rarName,
String connectionDefName)
Retrieves the MCF javabean properties with default values.
|
Map<String,String> |
ConnectorRuntime.getMessageListenerConfigProps(String rarName,
String messageListenerType)
Parses the ra.xml for the ActivationSpec javabean
properties and processes annotations if any.
|
Map<String,String> |
ConnectorRuntime.getMessageListenerConfigPropTypes(String rarName,
String messageListenerType)
Returns the Properties object consisting of propertyname as the
key and datatype as the value.
|
String[] |
ConnectorRuntime.getMessageListenerTypes(String rarName)
Parses the ra.xml, processes the annotated rar artificats if any
and returns all the Message listener types.
|
Map<String,String> |
ConnectorRuntime.getResourceAdapterConfigProps(String rarName)
Retrieves the Resource adapter javabean properties with default values.
|
String |
ConnectorRuntime.getSecurityPermissionSpec(String moduleName)
Obtains the Permission string that needs to be added to the
to the security policy files.
|
ConnectorClassFinder |
ConnectorsClassLoaderUtil.getSystemRARClassLoader(String rarName) |
Collection<ConnectorClassFinder> |
ConnectorsClassLoaderUtil.getSystemRARClassLoaders() |
javax.resource.spi.work.WorkManager |
WorkManagerFactory.getWorkManagerProxy(String threadPoolId,
String moduleName,
ClassLoader rarCL)
get the proxy work manager object for the rar
|
boolean |
ConnectorRuntime.hasAdminObject(String rarName,
String intfName,
String className)
checks whether the specified intfName, className has presence in
admin objects of the RAR
|
javax.resource.spi.ManagedConnectionFactory |
ConnectorRuntime.obtainManagedConnectionFactory(org.glassfish.resourcebase.resources.api.PoolInfo poolInfo)
Returns the MCF instance.
|
javax.resource.spi.ManagedConnectionFactory |
ConnectorRuntime.obtainManagedConnectionFactory(org.glassfish.resourcebase.resources.api.PoolInfo poolInfo,
Hashtable env)
provide the MCF of the pool (either retrieve or create)
|
Copyright © 2013. All Rights Reserved.