org.jboss.webservice
Class ServiceClientDeployer

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.webservice.ServiceClientDeployer
All Implemented Interfaces:
MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src) , WebServiceClientDeployment (src)

public class ServiceClientDeployer
extends ServiceMBeanSupport (src)
implements WebServiceClientDeployment (src)

Binds a JAXRPC Service object in the client's ENC for every service-ref element in the deployment descriptor.

Since:
27-April-2004

Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
ServiceClientDeployer()
           
 
Method Summary
 void setupServiceRefEnvironment(javax.naming.Context envCtx, java.util.Iterator serviceRefs, DeploymentInfo (src)  di)
          This binds a jaxrpc Service into the callers ENC for every service-ref element
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceClientDeployer

public ServiceClientDeployer()
Method Detail

setupServiceRefEnvironment

public void setupServiceRefEnvironment(javax.naming.Context envCtx,
                                       java.util.Iterator serviceRefs,
                                       DeploymentInfo (src)  di)
                                throws DeploymentException (src) 
This binds a jaxrpc Service into the callers ENC for every service-ref element

Specified by:
setupServiceRefEnvironment in interface WebServiceClientDeployment (src)
Parameters:
envCtx - ENC to bind the javax.rpc.xml.Service object to
serviceRefs - An iterator of the service-ref elements in the client deployment descriptor
di - The client's deployment info
Throws:
DeploymentException (src) - if it goes wrong