com.jmrosengard.xmlbroker.broker
Class Port

java.lang.Object
  |
  +--com.jmrosengard.xmlbroker.broker.Port

public class Port
extends java.lang.Object

Port is the low level representation of a service it is loaded with a service interface during deployment.


Field Summary
private  Method actualMtd
           
private  JavaInterpreter ipr
           
private  java.lang.Object servant
           
private  java.lang.Class service
           
 
Constructor Summary
Port()
           
 
Method Summary
 Method getActualMtd()
          Return the `actual' Method
 java.lang.Object getServant()
          Return an instance of the servant
 java.lang.Class getService()
          Returns the service interface
static void main(java.lang.String[] a)
          Only for testing
 void setServant(java.lang.String servantName)
          Instantiate the servant
 void setService(java.lang.String serviceName)
          Loads the service interface
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

service

private java.lang.Class service

servant

private java.lang.Object servant

actualMtd

private Method actualMtd

ipr

private JavaInterpreter ipr
Constructor Detail

Port

public Port()
Method Detail

setService

public void setService(java.lang.String serviceName)
                throws DeployException
Loads the service interface

getService

public java.lang.Class getService()
Returns the service interface

setServant

public void setServant(java.lang.String servantName)
                throws DeployException
Instantiate the servant

getServant

public java.lang.Object getServant()
Return an instance of the servant

getActualMtd

public Method getActualMtd()
Return the `actual' Method

main

public static void main(java.lang.String[] a)
Only for testing