当前页面: 
在线文档首页 > 
JBoss 3.2.7 hibernate  API Documentation 英文版文档
HARDeployer (JBoss Hibernate API) - JBoss 3.2.7 hibernate  API Documentation 英文版文档
org.jboss.hibernate.har
Class HARDeployer
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.mx.util.JBossNotificationBroadcasterSupport
       org.jboss.system.ServiceMBeanSupport
org.jboss.system.ServiceMBeanSupport
           org.jboss.deployment.SubDeployerSupport
org.jboss.deployment.SubDeployerSupport
               org.jboss.hibernate.har.HARDeployer
org.jboss.hibernate.har.HARDeployer
- All Implemented Interfaces: 
- HARDeployerMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean, org.jboss.deployment.SubDeployer, org.jboss.deployment.SubDeployerMBean
- public class HARDeployer- extends org.jboss.deployment.SubDeployerSupport- implements HARDeployerMBean
Deployer for Hibernate har archives. A Hibernate archive
 is expected to have a .har extension and include:
 -  hibernate-service.xml
 
-  persistent classes
 
-  hbm.xml mapping documents.
- Version:
- $Revision: 1.1.2.5 $
- Author:
- Alexey Loubyansky
 
| 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 di)
 | 
|  void | create(org.jboss.deployment.DeploymentInfo di)
 | 
| protected  void | deployUrl(org.jboss.deployment.DeploymentInfo di,
          URL url,
          String name)
 | 
|  void | destroy(org.jboss.deployment.DeploymentInfo di)
 | 
|  Iterator | getDeployedApplications()Returns the deployed applications.
 | 
| protected  javax.management.ObjectName | getObjectName(javax.management.MBeanServer server,
              javax.management.ObjectName name)
 | 
|  boolean | getValidateDTDs()Get the flag indicating that ejb-jar.dtd, jboss.dtd &
 jboss-web.dtd conforming documents should be validated
 against the DTD.
 | 
|  void | init(org.jboss.deployment.DeploymentInfo di)
 | 
|  boolean | isDeployable(String name,
             URL url)
 | 
| protected  void | processNestedDeployments(org.jboss.deployment.DeploymentInfo di)This is here as a reminder that we may not want to allow ejb jars to
 have arbitrary sub deployments.
 | 
|  void | setValidateDTDs(boolean validate)Set the flag indicating that ejb-jar.dtd, jboss.dtd &
 jboss-web.dtd conforming documents should be validated
 against the DTD.
 | 
|  void | start(org.jboss.deployment.DeploymentInfo di)
 | 
| protected  void | startService()Get a reference to the ServiceController
 | 
|  void | stop(org.jboss.deployment.DeploymentInfo di)
 | 
| protected  void | stopService()Implements the template method in superclass.
 | 
 
| Methods inherited from class org.jboss.deployment.SubDeployerSupport | 
| addDeployableFiles, addDeployableJar, createService, destroyService | 
 
| Methods inherited from class org.jboss.system.ServiceMBeanSupport | 
| create, destroy, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, 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 | 
 
HARDeployer
public HARDeployer()
getDeployedApplications
public Iterator getDeployedApplications()
- Returns the deployed applications.
 
- 
- Specified by:
- getDeployedApplicationsin interface- HARDeployerMBean
 
- 
 
getObjectName
protected javax.management.ObjectName getObjectName(javax.management.MBeanServer server,
                                                    javax.management.ObjectName name)
                                             throws javax.management.MalformedObjectNameException
- 
 
- 
- Throws:
- javax.management.MalformedObjectNameException
 
startService
protected void startService()
                     throws Exception
- Get a reference to the ServiceController
 
- 
 
- 
- Throws:
- Exception
 
stopService
protected void stopService()
                    throws Exception
- Implements the template method in superclass. This method stops all the
 applications in this server.
 
- 
 
- 
- Throws:
- Exception
 
getValidateDTDs
public boolean getValidateDTDs()
- Get the flag indicating that ejb-jar.dtd, jboss.dtd &
 jboss-web.dtd conforming documents should be validated
 against the DTD.
 
- 
- Specified by:
- getValidateDTDsin interface- HARDeployerMBean
 
- 
 
setValidateDTDs
public void setValidateDTDs(boolean validate)
- Set the flag indicating that ejb-jar.dtd, jboss.dtd &
 jboss-web.dtd conforming documents should be validated
 against the DTD.
 
- 
- Specified by:
- setValidateDTDsin interface- HARDeployerMBean
 
- 
 
accepts
public boolean accepts(org.jboss.deployment.DeploymentInfo di)
- 
- Specified by:
- acceptsin interface- org.jboss.deployment.SubDeployerMBean
 
- 
 
init
public void init(org.jboss.deployment.DeploymentInfo di)
          throws org.jboss.deployment.DeploymentException
- 
- Specified by:
- initin interface- org.jboss.deployment.SubDeployerMBean
 
- 
- Throws:
- org.jboss.deployment.DeploymentException
 
processNestedDeployments
protected void processNestedDeployments(org.jboss.deployment.DeploymentInfo di)
                                 throws org.jboss.deployment.DeploymentException
- This is here as a reminder that we may not want to allow ejb jars to
 have arbitrary sub deployments. Currently we do.
 It is also here as a temporary solution to get JSR-109 simultaneous
 web service deployments going
 
- 
 
- 
- Parameters:
- di-
- Throws:
- org.jboss.deployment.DeploymentException
 
deployUrl
protected void deployUrl(org.jboss.deployment.DeploymentInfo di,
                         URL url,
                         String name)
                  throws org.jboss.deployment.DeploymentException
- 
 
- 
- Throws:
- org.jboss.deployment.DeploymentException
 
isDeployable
public boolean isDeployable(String name,
                            URL url)
- 
 
- 
 
create
public void create(org.jboss.deployment.DeploymentInfo di)
            throws org.jboss.deployment.DeploymentException
- 
- Specified by:
- createin interface- org.jboss.deployment.SubDeployerMBean
 
- 
- Throws:
- org.jboss.deployment.DeploymentException
 
start
public void start(org.jboss.deployment.DeploymentInfo di)
           throws org.jboss.deployment.DeploymentException
- 
- Specified by:
- startin interface- org.jboss.deployment.SubDeployerMBean
 
- 
- Throws:
- org.jboss.deployment.DeploymentException
 
stop
public void stop(org.jboss.deployment.DeploymentInfo di)
          throws org.jboss.deployment.DeploymentException
- 
- Specified by:
- stopin interface- org.jboss.deployment.SubDeployerMBean
 
- 
- Throws:
- org.jboss.deployment.DeploymentException
 
destroy
public void destroy(org.jboss.deployment.DeploymentInfo di)
             throws org.jboss.deployment.DeploymentException
- 
- Specified by:
- destroyin interface- org.jboss.deployment.SubDeployerMBean
 
- 
- Throws:
- org.jboss.deployment.DeploymentException
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.