org.jboss.deployment.remoting
Class DeployHandler
java.lang.Object
org.jboss.deployment.remoting.DeployHandler
- All Implemented Interfaces:
- org.jboss.remoting.ServerInvocationHandler, org.jboss.remoting.stream.StreamInvocationHandler
public class DeployHandler
- extends Object
- implements org.jboss.remoting.stream.StreamInvocationHandler
A remoting StreamInvocationHandler installed as the JSR88 subsystem
handler and used by the StreamingTarget implementation.
- Version:
- $Revision: 85945 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeployHandler
public DeployHandler()
getDeployService
public DeploymentManagerServiceMBean getDeployService()
setDeployService
public void setDeployService(DeploymentManagerServiceMBean deployService)
handleStream
public Object handleStream(InputStream contentIS,
org.jboss.remoting.InvocationRequest request)
throws Throwable
- Handle a deployService deploy invocation
- Specified by:
handleStream
in interface org.jboss.remoting.stream.StreamInvocationHandler
- Parameters:
request
- - the remoting invocation
- Throws:
Throwable
addListener
public void addListener(org.jboss.remoting.callback.InvokerCallbackHandler arg0)
- Specified by:
addListener
in interface org.jboss.remoting.ServerInvocationHandler
invoke
public Object invoke(org.jboss.remoting.InvocationRequest request)
throws Throwable
- Handle a deployService invocation other than deploy
- Specified by:
invoke
in interface org.jboss.remoting.ServerInvocationHandler
- Parameters:
request
- - the remoting invocation
- Throws:
Throwable
removeListener
public void removeListener(org.jboss.remoting.callback.InvokerCallbackHandler arg0)
- Specified by:
removeListener
in interface org.jboss.remoting.ServerInvocationHandler
setInvoker
public void setInvoker(org.jboss.remoting.ServerInvoker arg0)
- Specified by:
setInvoker
in interface org.jboss.remoting.ServerInvocationHandler
setMBeanServer
public void setMBeanServer(MBeanServer server)
- Legacy initialzation of the DeploymentManagerServiceMBean via
jmx lookup.
TODO: the deployService should be injected.
- Specified by:
setMBeanServer
in interface org.jboss.remoting.ServerInvocationHandler
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.