IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.osgi
Class ProxyHelper

java.lang.Object
  extended by com.ibm.websphere.objectgrid.osgi.ProxyHelper

public class ProxyHelper
extends Object

A helper class for the OSGi service proxy.

Since:
7.1.1

Constructor Summary
ProxyHelper()
           
 
Method Summary
static Object getRealObject(Object proxy)
          Get the real object from the proxy object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyHelper

public ProxyHelper()
Method Detail

getRealObject

public static Object getRealObject(Object proxy)
                            throws IllegalArgumentException
Get the real object from the proxy object.

Parameters:
proxy - the eXtreme Scale OSGi bean proxy.
Returns:
the real object. Must not be null.
Throws:
IllegalArgumentException - if the proxy object is not an OSGi proxy object created by eXtreme Scale.

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.