gov.lanl.RAD
Class PolicyEvaluatorLocatorImpl

java.lang.Object
  |
  +--org.omg.PortableServer.Servant
        |
        +--org.omg.DfResourceAccessDecision.PolicyEvaluatorLocatorPOA
              |
              +--gov.lanl.RAD.PolicyEvaluatorLocatorImpl
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, org.omg.DfResourceAccessDecision.PolicyEvaluatorLocatorOperations

public class PolicyEvaluatorLocatorImpl
extends org.omg.DfResourceAccessDecision.PolicyEvaluatorLocatorPOA

Provides methods to other objects to retrieve PolicyEvaluators and Decision Combinators corresponding to resourcenames. Uses the Admin interface for this

 

Constructor Summary
PolicyEvaluatorLocatorImpl(org.omg.CORBA.ORB theOrb, java.lang.String name, java.util.Properties props)
          Binds to BasicAdmin and NameAdmin so that it can use them to retreive PolicyEvaluators and Decision Combinators corresponding to resourcenames
 
Method Summary
 org.omg.DfResourceAccessDecision.PolicyEvaluatorLocatorBasicAdmin basic_admin()
           
 org.omg.DfResourceAccessDecision.PolicyDecisionEvaluators get_policy_decision_evaluators(org.omg.DfResourceAccessDecision.ResourceName resource_name)
          Returns PolicyDecisionEvaluators based on the resouce_name
static void main(java.lang.String[] args)
          Creates a PolicyEvaluatorLocator object and then waits forever for operation requests which are invoked on the object
 org.omg.DfResourceAccessDecision.PolicyEvaluatorLocatorNameAdmin name_admin()
           
 org.omg.DfResourceAccessDecision.PolicyEvaluatorLocatorPatternAdmin pattern_admin()
           
 
Methods inherited from class org.omg.DfResourceAccessDecision.PolicyEvaluatorLocatorPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyEvaluatorLocatorImpl

public PolicyEvaluatorLocatorImpl(org.omg.CORBA.ORB theOrb,
                                  java.lang.String name,
                                  java.util.Properties props)
Binds to BasicAdmin and NameAdmin so that it can use them to retreive PolicyEvaluators and Decision Combinators corresponding to resourcenames

Method Detail

basic_admin

public org.omg.DfResourceAccessDecision.PolicyEvaluatorLocatorBasicAdmin basic_admin()
Returns:
reference to BasicAdmin object

name_admin

public org.omg.DfResourceAccessDecision.PolicyEvaluatorLocatorNameAdmin name_admin()
Returns:
reference to NameAdmin object

pattern_admin

public org.omg.DfResourceAccessDecision.PolicyEvaluatorLocatorPatternAdmin pattern_admin()
Returns:
reference to PatternAdmin object

get_policy_decision_evaluators

public org.omg.DfResourceAccessDecision.PolicyDecisionEvaluators get_policy_decision_evaluators(org.omg.DfResourceAccessDecision.ResourceName resource_name)
                                                                                         throws org.omg.DfResourceAccessDecision.RadComponentError
Returns PolicyDecisionEvaluators based on the resouce_name

org.omg.DfResourceAccessDecision.RadComponentError
Parameters:
resource_name - the name corresponding to which the PolicyDecisionEvaluators are to be returned
Returns:
PolicyDecisionEvaluators corresponding to the input resource_name

main

public static void main(java.lang.String[] args)
Creates a PolicyEvaluatorLocator object and then waits forever for operation requests which are invoked on the object