public class ResourceArchive extends java.lang.Object implements EnvironmentBean
Modifier and Type | Method and Description |
---|---|
AdminObjectConfig |
getAdminObject(java.lang.String type)
Returns the managed object definition.
|
java.lang.ClassLoader |
getClassLoader()
Returns the class loader.
|
ConnectionDefinition |
getConnectionDefinition(java.lang.String type)
Returns the matching connection factory class.
|
java.lang.String |
getDisplayName()
Returns the name.
|
MessageListenerConfig |
getMessageListener(java.lang.String type)
Returns the activation spec.
|
ResourceAdapterConfig |
getResourceAdapter()
Returns the resource adapter class.
|
java.lang.Class |
getResourceAdapterClass()
Returns the resource adapter class.
|
Path |
getRootDirectory()
Sets the root directory.
|
java.lang.String |
getTransactionSupport()
Returns the transaction support.
|
void |
init()
Configures the resource.
|
void |
setRarPath(Path rarPath)
Sets the path to the .ear file
|
void |
setRootDirectory(Path rootDir)
Sets the root directory.
|
java.lang.String |
toString() |
public void setRootDirectory(Path rootDir)
public Path getRootDirectory()
public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface EnvironmentBean
public void setRarPath(Path rarPath)
public java.lang.String getDisplayName()
public ResourceAdapterConfig getResourceAdapter()
public java.lang.Class getResourceAdapterClass()
public java.lang.String getTransactionSupport()
public ConnectionDefinition getConnectionDefinition(java.lang.String type)
public MessageListenerConfig getMessageListener(java.lang.String type)
public AdminObjectConfig getAdminObject(java.lang.String type)
@PostConstruct public void init() throws ConfigException
ConfigException
public java.lang.String toString()
toString
in class java.lang.Object