public void unbind(final String name) throws Exception { final POA poa = transientPoaMap.remove(name); if (poa != null) { poa.the_POAManager().deactivate(false, true); poa.destroy(false, true); } }
public void unbind(final String name) throws Exception { final POA poa = persistentPoaMap.remove(name); if (poa != null) { poa.the_POAManager().deactivate(false, true); poa.destroy(false, true); } }
public ReferenceFactory bind(final String name, final Servant servant) throws Exception { final POA poa = rootPOA.getValue().create_POA(name, null, transientPoaPolicies); transientPoaMap.put(name, poa); poa.set_servant(servant); poa.the_POAManager().activate(); return new PoaReferenceFactory(poa); // no servantName: in this case // name is the POA name }
public ReferenceFactory bind(final String name, final Servant servant, final Policy[] policies) throws Exception { final Policy[] poaPolicies = concatPolicies(transientPoaPolicies, policies); final POA poa = rootPOA.getValue().create_POA(name, null, poaPolicies); transientPoaMap.put(name, poa); poa.set_servant(servant); poa.the_POAManager().activate(); return new PoaReferenceFactory(poa); // no servantName: in this case // name is the POA name }
public ReferenceFactory bind(final String name, final Servant servant, final Policy[] policies) throws Exception { final Policy[] poaPolicies = concatPolicies(persistentPoaPolicies, policies); final POA poa = rootPOA.getValue().create_POA(name, null, poaPolicies); persistentPoaMap.put(name, poa); poa.set_servant(servant); poa.the_POAManager().activate(); return new PoaReferenceFactory(poa); // no servantName: in this case // name is the POA name }
public ReferenceFactory bind(final String name, final Servant servant) throws Exception { final POA poa = rootPOA.getValue().create_POA(name, null, persistentPoaPolicies); persistentPoaMap.put(name, poa); poa.set_servant(servant); poa.the_POAManager().activate(); return new PoaReferenceFactory(poa); // no servantName: in this case // name is the POA name }
this.poa.the_POAManager().activate(); } catch (Exception e) { throw IIOPLogger.ROOT_LOGGER.errorActivatingPOA(e);
public void unbind(final String name) throws Exception { final POA poa = transientPoaMap.remove(name); if (poa != null) { poa.the_POAManager().deactivate(false, true); poa.destroy(false, false); } }
public void unbind(final String name) throws Exception { final POA poa = persistentPoaMap.remove(name); if (poa != null) { poa.the_POAManager().deactivate(false, true); poa.destroy(false, false); } }
public void createPOA (String adapterName, Policy[] policies) throws AdapterAlreadyExists, InvalidPolicy, AdapterInactive, SystemException { if (_poa == null) { opLogger.i18NLogger.warn_internal_orbspecific_oa_implementations("jacorb_2_0.createPOA"); throw new AdapterInactive(); } POA childPoa = _poa.create_POA(adapterName, _poa.the_POAManager(), policies); childPoa.the_POAManager().activate(); super._poas.put(adapterName, childPoa); }
public void createPOA (String adapterName, Policy[] policies) throws AdapterAlreadyExists, InvalidPolicy, AdapterInactive, SystemException { if (_poa == null) { opLogger.i18NLogger.warn_internal_orbspecific_oa_implementations("jacorb_2_0.createPOA"); throw new AdapterInactive(); } POA childPoa = _poa.create_POA(adapterName, _poa.the_POAManager(), policies); childPoa.the_POAManager().activate(); super._poas.put(adapterName, childPoa); }
/** * Create a child POA of the root POA. */ public void createPOA(String adapterName, Policy[] policies) throws AdapterAlreadyExists, InvalidPolicy, AdapterInactive, SystemException { if (_poa == null) { opLogger.i18NLogger.warn_internal_orbspecific_oa_implementations("javaidl_1_4.createPOA"); throw new AdapterInactive(); } POA childPoa = _poa.create_POA(adapterName, _poa.the_POAManager(), policies); childPoa.the_POAManager().activate(); super._poas.put(adapterName, childPoa); } }
/** * Create a child POA of the root POA. */ public void createPOA(String adapterName, Policy[] policies) throws AdapterAlreadyExists, InvalidPolicy, AdapterInactive, SystemException { if (_poa == null) { opLogger.i18NLogger.warn_internal_orbspecific_oa_implementations("javaidl_1_4.createPOA"); throw new AdapterInactive(); } POA childPoa = _poa.create_POA(adapterName, _poa.the_POAManager(), policies); childPoa.the_POAManager().activate(); super._poas.put(adapterName, childPoa); } }
public ReferenceFactory bind(final String name, final Servant servant, final Policy[] policies) throws Exception { final Policy[] poaPolicies = concatPolicies(transientPoaPolicies, policies); final POA poa = rootPOA.getValue().create_POA(name, null, poaPolicies); transientPoaMap.put(name, poa); poa.set_servant(servant); poa.the_POAManager().activate(); return new PoaReferenceFactory(poa); // no servantName: in this case // name is the POA name }
public ReferenceFactory bind(final String name, final Servant servant) throws Exception { final POA poa = rootPOA.getValue().create_POA(name, null, transientPoaPolicies); transientPoaMap.put(name, poa); poa.set_servant(servant); poa.the_POAManager().activate(); return new PoaReferenceFactory(poa); // no servantName: in this case // name is the POA name }
public ReferenceFactory bind(final String name, final Servant servant, final Policy[] policies) throws Exception { final Policy[] poaPolicies = concatPolicies(persistentPoaPolicies, policies); final POA poa = rootPOA.getValue().create_POA(name, null, poaPolicies); persistentPoaMap.put(name, poa); poa.set_servant(servant); poa.the_POAManager().activate(); return new PoaReferenceFactory(poa); // no servantName: in this case // name is the POA name }
public ReferenceFactory bind(final String name, final Servant servant) throws Exception { final POA poa = rootPOA.getValue().create_POA(name, null, persistentPoaPolicies); persistentPoaMap.put(name, poa); poa.set_servant(servant); poa.the_POAManager().activate(); return new PoaReferenceFactory(poa); // no servantName: in this case // name is the POA name }
public void init (com.arjuna.orbportability.orb.core.ORB orb) throws InvalidName, AdapterInactive, SystemException { if (!_init) { _poa = POAHelper.narrow(orb.orb().resolve_initial_references( "RootPOA")); _poa.the_POAManager().activate(); _init = true; } }
public void init (com.arjuna.orbportability.orb.core.ORB orb) throws InvalidName, AdapterInactive, SystemException { if (!_init) { _poa = POAHelper.narrow(orb.orb().resolve_initial_references( "RootPOA")); _poa.the_POAManager().activate(); _init = true; } }
public void init (com.arjuna.orbportability.orb.core.ORB orb) throws InvalidName, AdapterInactive, SystemException { if (!_init) { _poa = POAHelper.narrow(orb.orb().resolve_initial_references( "RootPOA")); _poa.the_POAManager().activate(); _init = true; } }