当前页面:
在线文档首页 >
JBoss 3.2.7 connector API Documentation 英文版文档
RARDeployer (JBoss Connector API) - JBoss 3.2.7 connector API Documentation 英文版文档
org.jboss.resource
Class RARDeployer
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.deployment.SubDeployerSupport
org.jboss.resource.RARDeployer
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, RARDeployerMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean, org.jboss.deployment.SubDeployer, org.jboss.deployment.SubDeployerMBean
- public class RARDeployer
- extends org.jboss.deployment.SubDeployerSupport
- implements RARDeployerMBean
Service that deploys ".rar" files containing resource adapters. Deploying
the RAR file is the first step in making the resource adapter available to
application components; once it is deployed, one or more connection
factories must be configured and bound into JNDI, a task performed by the
ConnectionFactoryLoader
service.
- Version:
- $Revision: 1.31.2.4 $
- Author:
- Toby Allsopp (toby.allsopp@peace.com), David Jencks
- See Also:
Nested classes inherited from class org.jboss.deployment.SubDeployerSupport |
org.jboss.deployment.SubDeployerSupport.ClassConfiguration |
Fields inherited from class org.jboss.deployment.SubDeployerSupport |
CONFIGURATION, mainDeployer, nativePrefix, nativeSuffix, tempDeployDir |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Fields inherited from interface org.jboss.deployment.SubDeployer |
CREATE_NOTIFICATION, DESTROY_NOTIFICATION, INIT_NOTIFICATION, START_NOTIFICATION, STOP_NOTIFICATION |
Method Summary |
boolean |
accepts(org.jboss.deployment.DeploymentInfo sdi)
Gets the DeployableFilter attribute of the RARDeployer object |
void |
create(org.jboss.deployment.DeploymentInfo rdi)
The deploy method deploys a rar at the given url. |
void |
destroy(org.jboss.deployment.DeploymentInfo rdi)
|
void |
init(org.jboss.deployment.DeploymentInfo rdi)
|
void |
postRegister(Boolean done)
Once registration has finished, create a proxy to the ServiceController
for later use. |
void |
start(org.jboss.deployment.DeploymentInfo rdi)
|
void |
stop(org.jboss.deployment.DeploymentInfo rdi)
|
Methods inherited from class org.jboss.deployment.SubDeployerSupport |
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, isDeployable, processNestedDeployments, startService, stopService |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Methods inherited from interface org.jboss.deployment.SubDeployer |
getServiceName |
RARDeployer
public RARDeployer()
accepts
public boolean accepts(org.jboss.deployment.DeploymentInfo sdi)
- Gets the DeployableFilter attribute of the RARDeployer object
- Specified by:
accepts
in interface org.jboss.deployment.SubDeployerMBean
- Returns:
- The DeployableFilter value
postRegister
public void postRegister(Boolean done)
- Once registration has finished, create a proxy to the ServiceController
for later use.
- Specified by:
postRegister
in interface javax.management.MBeanRegistration
init
public void init(org.jboss.deployment.DeploymentInfo rdi)
throws org.jboss.deployment.DeploymentException
- Specified by:
init
in interface org.jboss.deployment.SubDeployerMBean
- Throws:
org.jboss.deployment.DeploymentException
create
public void create(org.jboss.deployment.DeploymentInfo rdi)
throws org.jboss.deployment.DeploymentException
- The
deploy
method deploys a rar at the given url.
- Specified by:
create
in interface org.jboss.deployment.SubDeployerMBean
- Returns:
- an
Object
to identify this deployment.
- Throws:
IOException
- if an error occurs
org.jboss.deployment.DeploymentException
- if an error occurs
start
public void start(org.jboss.deployment.DeploymentInfo rdi)
throws org.jboss.deployment.DeploymentException
- Specified by:
start
in interface org.jboss.deployment.SubDeployerMBean
- Throws:
org.jboss.deployment.DeploymentException
stop
public void stop(org.jboss.deployment.DeploymentInfo rdi)
throws org.jboss.deployment.DeploymentException
- Specified by:
stop
in interface org.jboss.deployment.SubDeployerMBean
- Throws:
org.jboss.deployment.DeploymentException
destroy
public void destroy(org.jboss.deployment.DeploymentInfo rdi)
throws org.jboss.deployment.DeploymentException
- Specified by:
destroy
in interface org.jboss.deployment.SubDeployerMBean
- Throws:
org.jboss.deployment.DeploymentException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.