| Modifier and Type | Field and Description |
|---|---|
| private static Method | portClass
changing behavior to method : Service.getPort(Class) |
| private Hashtable | portComponentRef
PortComponentRef list |
| private static Method | portQNameClass
changing behavior to method : Service.getPort(QName, Class) |
| private final Service | service
Service object. |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public | ServiceProxy(Service
the wrapped Service instance service)Constructs a new ServiceProxy wrapping given Service instance. |
| Modifier and Type | Method and Description |
|---|---|
| private Remote | |
| private Object | |
| public Object | invoke(Object
the proxy instance that the method was invoked on proxy, Method the method, Object[] Method instance corresponding to
the interface method invoked on the proxy instance. The declaring
class of the Method object will be the interface that
the method was declared in, which may be a superinterface of the
proxy interface that the proxy class inherits the method through.an array of objects containing the values of the
arguments passed in the method invocation on the proxy instance,
or args)null if interface method takes no arguments.
Arguments of primitive types are wrapped in instances of the
appropriate primitive wrapper class, such as
java.lang.Integer or java.lang.Boolean.Implements java. Processes a method invocation on a proxy instance and returns the result. |
| public void |
| portClass | back to summary |
|---|---|
| private static Method portClass changing behavior to method : Service.getPort(Class) | |
| portComponentRef | back to summary |
|---|---|
| private Hashtable<String, QName> portComponentRef PortComponentRef list | |
| portQNameClass | back to summary |
|---|---|
| private static Method portQNameClass changing behavior to method : Service.getPort(QName, Class) | |
| service | back to summary |
|---|---|
| private final Service service Service object. used for delegation | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| ServiceProxy | back to summary |
|---|---|
| public ServiceProxy(Service service) throws ServiceException Constructs a new ServiceProxy wrapping given Service instance.
| |
| getProxyPortClass | back to summary |
|---|---|
private Remote getProxyPortClass(Object[] args) throws ServiceException
| |
| getProxyPortQNameClass | back to summary |
|---|---|
private Object getProxyPortQNameClass(Object[] args) throws ServiceException
| |
| invoke | back to summary |
|---|---|
| public Object invoke(Object proxy, Method method, Object[] args) throws Throwable Implements java. Doc from java. Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.
| |
| setPortComponentRef | back to summary |
|---|---|
| public void setPortComponentRef(Hashtable<String, QName> portComponentRef) | |