|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.RAD.CreateResource
Read in the PolicyEvaluators and DecisionCombinator associated with a ResourceName

| Constructor Summary | |
CreateResource(org.omg.CORBA.ORB inOrb,
java.lang.String configFile)
Build the CreateResource object |
|
CreateResource(gov.lanl.SSLTools.ServiceInterface service,
java.lang.String configFile)
Construct with ServiceInterface instead of Orb |
|
| Method Summary | |
org.omg.DfResourceAccessDecision.DecisionCombinator |
getDecisionCombinator(java.lang.String dcName)
Get the appropriate Decision Combinator by name either locally in the evaluators hashtable or from the NamingService |
org.omg.DfResourceAccessDecision.DynamicAttributeService |
getDynamicAttribute(java.lang.String daName)
get the DynamicAttributeService |
static gov.lanl.RAD.CreateResource |
getInstance()
Return the already created resource or create it. |
static gov.lanl.RAD.CreateResource |
getInstance(org.omg.CORBA.ORB orb,
java.lang.String configFile)
create a new CreateResource object. |
static gov.lanl.RAD.CreateResource |
getInstance(gov.lanl.SSLTools.ServiceInterface inService,
java.lang.String configFile)
create a new CreateResource object; |
org.omg.DfResourceAccessDecision.PolicyEvaluator |
getPolicyEvaluator(java.lang.String peName)
get the Policy Evaluator associated with the requested Name |
java.util.Vector |
getResourceListVector()
Return the resourceList |
static void |
main(java.lang.String[] argv)
Standalone application to create the necessary CORBA objects so that another RAD application can use them. |
void |
read(java.lang.String fileName)
read the input file and populate the relevant hashtables |
static void |
setNameService(gov.lanl.Utility.NameService nService)
set the NameService |
static void |
setOrb(org.omg.CORBA.ORB inOrb)
set the Orb |
static void |
setProperties(java.lang.String file)
set the properties for the object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CreateResource(org.omg.CORBA.ORB inOrb,
java.lang.String configFile)
inOrb - configFile -
public CreateResource(gov.lanl.SSLTools.ServiceInterface service,
java.lang.String configFile)
service - configFile - | Method Detail |
public static void setOrb(org.omg.CORBA.ORB inOrb)
inOrb - to be setpublic static void setProperties(java.lang.String file)
file - containing the propertiespublic static void setNameService(gov.lanl.Utility.NameService nService)
nService - is the external NameService object created elsewhere.
public static gov.lanl.RAD.CreateResource getInstance(org.omg.CORBA.ORB orb,
java.lang.String configFile)
orb - configFile -
public static gov.lanl.RAD.CreateResource getInstance(gov.lanl.SSLTools.ServiceInterface inService,
java.lang.String configFile)
inService - configFile - public static gov.lanl.RAD.CreateResource getInstance()
public org.omg.DfResourceAccessDecision.PolicyEvaluator getPolicyEvaluator(java.lang.String peName)
peName - (name of PolicyEvaluator)
public org.omg.DfResourceAccessDecision.DecisionCombinator getDecisionCombinator(java.lang.String dcName)
dcName - name of the DecisionCombinator
public org.omg.DfResourceAccessDecision.DynamicAttributeService getDynamicAttribute(java.lang.String daName)
daName - of the DynamicAttributeService to retrievepublic void read(java.lang.String fileName)
fileName - public java.util.Vector getResourceListVector()
public static void main(java.lang.String[] argv)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||