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 {