@ManagedObject @Description(value="The ReferenceFactoryManager, used to handle dynamic cluster membership updates") public class ReferenceFactoryManagerImpl extends LocalObject implements ReferenceFactoryManager
ReferenceFactoryManager.RFMState| Constructor and Description |
|---|
ReferenceFactoryManagerImpl(ORB orb) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Must be called before any other operation.
|
ReferenceFactory |
create(String name,
String repositoryId,
List<Policy> policies,
ServantLocator locator)
Create a new reference factory with the given policies.
|
ReferenceFactory |
find(String name)
Find the ReferenceFactory with the given name.
|
ReferenceFactory |
find(String[] adapterName)
Get the ReferenceFactory name from a String[] adapterName, if
adapterName is the name of a ReferenceFactory.
|
ReferenceFactoryManager.RFMState |
getState()
The state of the ReferenceFactoryManager.
|
boolean |
isRfmName(String[] adapterName) |
void |
restart()
Restart all ReferenceFactories.
|
void |
restart(Map<String,org.glassfish.pfl.basic.contain.Pair<ServantLocator,List<Policy>>> updates)
Restart all ReferenceFactories.
|
void |
restartFactories()
Restart all ReferenceFactories.
|
void |
restartFactories(Map<String,org.glassfish.pfl.basic.contain.Pair<ServantLocator,List<Policy>>> updates)
Restart all ReferenceFactories.
|
void |
resume()
Resume all CORBA request processing on all references created
by ReferenceFactory instances that were created by this
ReferenceFactoryManager.
|
void |
suspend()
Suspend all CORBA request processing on all references created
by ReferenceFactory instances that were created by this
ReferenceFactoryManager.
|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_overridepublic ReferenceFactoryManagerImpl(ORB orb)
public ReferenceFactoryManager.RFMState getState()
ReferenceFactoryManagergetState in interface ReferenceFactoryManagerpublic void activate()
ReferenceFactoryManageractivate in interface ReferenceFactoryManagerpublic ReferenceFactory create(String name, String repositoryId, List<Policy> policies, ServantLocator locator)
ReferenceFactoryManagercreate in interface ReferenceFactoryManagername - is the name of this ReferenceFactory. This is a
simple flat name, not a hierarchical name.repositoryId - is the repoid to be used when this reference factory
creates a new CORBA Object reference.policies - are the policies to be used to create the underlying POA.public ReferenceFactory find(String[] adapterName)
ReferenceFactoryManagerfind in interface ReferenceFactoryManagerpublic ReferenceFactory find(String name)
ReferenceFactoryManagerfind in interface ReferenceFactoryManagerpublic void suspend()
ReferenceFactoryManagersuspend in interface ReferenceFactoryManagerpublic void resume()
ReferenceFactoryManagerresume in interface ReferenceFactoryManagerpublic void restartFactories(Map<String,org.glassfish.pfl.basic.contain.Pair<ServantLocator,List<Policy>>> updates)
ReferenceFactoryManagerrestartFactories in interface ReferenceFactoryManagerupdates - is a map giving the updated policies for
some or all of the ReferenceFactory instances in this ReferenceFactoryManager.
This parameter must not be null.public void restartFactories()
ReferenceFactoryManagerrestartFactories in interface ReferenceFactoryManagerpublic void restart(Map<String,org.glassfish.pfl.basic.contain.Pair<ServantLocator,List<Policy>>> updates)
restart in interface ReferenceFactoryManagerupdates - is a map giving the updated policies for
some or all of the ReferenceFactory instances in this ReferenceFactoryManager.
This parameter must not be null.public void restart()
restart in interface ReferenceFactoryManagerpublic boolean isRfmName(String[] adapterName)
isRfmName in interface ReferenceFactoryManagerCopyright © 2017–2019 Eclipse Foundation. All rights reserved.