Package org.jboss.jms.wireformat

Source Code of org.jboss.jms.wireformat.ConnectionFactoryGetClientAOPStackRequest

/*    */ package org.jboss.jms.wireformat;
/*    */
/*    */ import java.io.DataInputStream;
/*    */ import java.io.DataOutputStream;
/*    */ import org.jboss.jms.delegate.ConnectionFactoryEndpoint;
/*    */
/*    */ public class ConnectionFactoryGetClientAOPStackRequest extends RequestSupport
/*    */ {
/*    */   public ConnectionFactoryGetClientAOPStackRequest()
/*    */   {
/*    */   }
/*    */
/*    */   public ConnectionFactoryGetClientAOPStackRequest(String objectId, byte version)
/*    */   {
/* 52 */     super(objectId, 102, version);
/*    */   }
/*    */
/*    */   public void read(DataInputStream is)
/*    */     throws Exception
/*    */   {
/* 59 */     super.read(is);
/*    */   }
/*    */
/*    */   public void write(DataOutputStream os) throws Exception
/*    */   {
/* 64 */     super.write(os);
/* 65 */     os.flush();
/*    */   }
/*    */
/*    */   public ResponseSupport serverInvoke() throws Exception
/*    */   {
/* 70 */     ConnectionFactoryEndpoint endpoint = (ConnectionFactoryEndpoint)Dispatcher.instance.getTarget(this.objectId);
/*    */
/* 73 */     if (endpoint == null)
/*    */     {
/* 75 */       throw new IllegalStateException("Cannot find object with ID " + this.objectId + " in dispatcher");
/*    */     }
/*    */
/* 78 */     return new ConnectionFactoryGetClientAOPStackResponse(endpoint.getClientAOPStack());
/*    */   }
/*    */
/*    */   public String toString()
/*    */   {
/* 85 */     return "ConnectionFactoryGetClientAOPStackRequest[" + Integer.toHexString(System.identityHashCode(this)) + "]";
/*    */   }
/*    */ }

/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name:     org.jboss.jms.wireformat.ConnectionFactoryGetClientAOPStackRequest
* JD-Core Version:    0.6.0
*/
TOP

Related Classes of org.jboss.jms.wireformat.ConnectionFactoryGetClientAOPStackRequest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.