org.jboss.deployment
Class SchemaBindingSimpleSubDeployerSupport

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.deployment.SubDeployerSupport
              extended by org.jboss.deployment.SimpleSubDeployerSupport
                  extended by org.jboss.deployment.SchemaBindingSimpleSubDeployerSupport
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, SubDeployer, SubDeployerExt, SubDeployerExtMBean, SubDeployerMBean, Service, ServiceMBean

public abstract class SchemaBindingSimpleSubDeployerSupport
extends SimpleSubDeployerSupport

A simple subdeployer that deploys a managed object after parsing the deployment's xml file using an ObjectModelFactory.

Version:
$Revision: 1.2.2.3 $
Author:
Adrian Brock

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.deployment.SubDeployerSupport
SubDeployerSupport.ClassConfiguration
 
Field Summary
 
Fields inherited from class org.jboss.deployment.SubDeployerSupport
CONFIGURATION, enhancedSuffixes, mainDeployer, nativePrefix, nativeSuffix, relativeOrder, suffixes, tempDeployDir
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.deployment.SubDeployer
CREATE_NOTIFICATION, DESTROY_NOTIFICATION, INIT_NOTIFICATION, RELATIVE_ORDER_100, RELATIVE_ORDER_200, RELATIVE_ORDER_300, RELATIVE_ORDER_400, RELATIVE_ORDER_500, RELATIVE_ORDER_600, RELATIVE_ORDER_700, RELATIVE_ORDER_800, RELATIVE_ORDER_900, START_NOTIFICATION, STOP_NOTIFICATION
 
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
 
Constructor Summary
SchemaBindingSimpleSubDeployerSupport()
           
 
Method Summary
abstract  org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding getSchemaBinding()
          Get the schema binding
protected  void parseMetaData(DeploymentInfo di, URL url)
          Parse the meta data
 
Methods inherited from class org.jboss.deployment.SimpleSubDeployerSupport
accepts, create, createService, destroy, destroyService, determineObjectName, getDeploymentClass, getExtension, getMetaDataResource, getMetaDataURL, getObjectName, init, postRegister, registerClassLoader, registerDeployment, resolveWatch, start, startService, stop, stopService, unregisterClassLoader, unregisterDeployment
 
Methods inherited from class org.jboss.deployment.SubDeployerSupport
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, emitNotification, getEnhancedSuffixes, getRelativeOrder, getSuffixes, isDeployable, processNestedDeployments, setEnhancedSuffixes, setRelativeOrder, setSuffixes, startService, stopService
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, destroy, getDeploymentInfo, 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, nextNotificationSequenceNumber, 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.deployment.SubDeployer
getServiceName
 
Methods inherited from interface org.jboss.deployment.SubDeployerMBean
getServiceName
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

SchemaBindingSimpleSubDeployerSupport

public SchemaBindingSimpleSubDeployerSupport()
Method Detail

getSchemaBinding

public abstract org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding getSchemaBinding()
Get the schema binding

Returns:
the schema binding

parseMetaData

protected void parseMetaData(DeploymentInfo di,
                             URL url)
                      throws DeploymentException
Description copied from class: SimpleSubDeployerSupport
Parse the meta data

Specified by:
parseMetaData in class SimpleSubDeployerSupport
Parameters:
di - the deployment info
url - the location of the meta data
Throws:
DeploymentException - for any error


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.