Rio Project 4.2 API Documentation



org.rioproject.opstring
Class OpStringManagerProxy

java.lang.Object
  extended by org.rioproject.opstring.OpStringManagerProxy

public class OpStringManagerProxy
extends Object

A generated proxy to assist with the management of OperationalStringManager instances.

Author:
Dennis Reedy

Nested Class Summary
static interface OpStringManagerProxy.OpStringManager
           
static class OpStringManagerProxy.OpStringManagerDispatcher
          A CGLIB dispatcher for managing the invocation of methods to the primary OperationalStringManager instance.
 
Constructor Summary
OpStringManagerProxy()
           
 
Method Summary
static DiscoveryManagement getDiscoveryManagement()
           
static OperationalStringManager getProxy(String name, OperationalStringManager manager)
          Create a dynamic CGLIB generated proxy for OperationalStringManager management.
static OperationalStringManager getProxy(String name, OperationalStringManager manager, DiscoveryManagement dMgr)
          Create a dynamic CGLIB generated proxy for OperationalStringManager management
static void setDiscoveryManagement(DiscoveryManagement dMgr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpStringManagerProxy

public OpStringManagerProxy()
Method Detail

getProxy

public static OperationalStringManager getProxy(String name,
                                                OperationalStringManager manager)
                                         throws ConfigurationException,
                                                IOException
Create a dynamic CGLIB generated proxy for OperationalStringManager management. Invoking this method relies on this utility having it's DiscoveryManagement property set.

Parameters:
name - The name of the OperationalString. This must not be null.
manager - The primary (managing) OperationalStringManager
Returns:
A generated proxy
Throws:
ConfigurationException - If the LookupCachePool cannot be accessed or created
IOException - If DiscoveryManagement has problems

getProxy

public static OperationalStringManager getProxy(String name,
                                                OperationalStringManager manager,
                                                DiscoveryManagement dMgr)
                                         throws ConfigurationException,
                                                IOException
Create a dynamic CGLIB generated proxy for OperationalStringManager management

Parameters:
name - The name of the OperationalString. This must not be null.
manager - The primary (managing) OperationalStringManager
dMgr - DiscoveryManagement instance to use. This must not be null.
Returns:
A generated proxy
Throws:
ConfigurationException - If the LookupCachePool cannot be accessed or created
IOException - If DiscoveryManagement has problems

setDiscoveryManagement

public static void setDiscoveryManagement(DiscoveryManagement dMgr)

getDiscoveryManagement

public static DiscoveryManagement getDiscoveryManagement()

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.