|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ponderToolkit.mgmtConsole.Connector
Function: Connects to the Policy Management Component and interacts with it. Also connects to the Policy Service.
| Constructor Summary | |
Connector(boolean newUseDB,
boolean newUseHDB)
Constructor |
|
| Method Summary | |
void |
connectToPolicyService()
Connect to Policy Service |
boolean |
disablePolicy()
Disable Policy - Interact with the Control object Returns true if operation succeded. |
boolean |
enablePolicy()
Enable Policy - Interact with the Control object Returns true if operation succeded. |
boolean |
loadPolicy()
Load Policy - Interact with the Control object Returns true if operation succeded. |
void |
pmcConnect()
Connect to Pmc - Select one from the Domain Service using the DomainChooser |
void |
pmcGetObligPolicies()
Get Oblig Policies loaded into the selected PMC |
void |
pmcGetRefrainPolicies()
Get Refrain Policies loaded into the selected PMC |
void |
setMainWindow(MainWindow newMainWindow)
Set MainWindow reference |
void |
setPmcViewer(PmcView newPmcViewer)
set a reference to the PmcView |
void |
setPolicyViewer(PolicyView newPolicyViewer)
set a reference to the PolicyView |
void |
startPoliciesInDomain()
Ask the policy service to start all policy objects in a domain. |
void |
startPolicy()
Ask the policy service to start a policy object First get the desired policy from the domain service using the Domain Browser |
void |
startRole()
Ask the policy service to start a role object First get the desired role from the domain service using the Domain Browser |
void |
stopPolicy()
Ask the policy service to stop a started policy object |
boolean |
unloadPolicy()
Unload Policy - Interact with the Control object Returns true if operation succeded. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Connector(boolean newUseDB,
boolean newUseHDB)
| Method Detail |
public void setMainWindow(MainWindow newMainWindow)
newMainWindow - The MainWindow of the GUI for the Management
Consolepublic void setPolicyViewer(PolicyView newPolicyViewer)
public void setPmcViewer(PmcView newPmcViewer)
public void connectToPolicyService()
public void startPoliciesInDomain()
public void startPolicy()
public void stopPolicy()
public void startRole()
public boolean loadPolicy()
public boolean unloadPolicy()
public boolean enablePolicy()
public boolean disablePolicy()
public void pmcConnect()
public void pmcGetObligPolicies()
public void pmcGetRefrainPolicies()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||