|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ales.management.ScopeManager
Method Summary | |
Scope |
create(java.lang.String name,
java.lang.String type)
Create a scope as child of current Scope with specified type |
Application |
createApplication(java.lang.String name)
Create application with the given name as child of current Scope |
Organization |
createOrganization(java.lang.String name)
Create organization with the given name as child of current Scope |
Organization |
getRoot()
Get the root organization |
Scope |
getScope(java.lang.String name)
Get child scope instance with the given name of current Scope |
Scope |
getScopeWithFullQuaifiedName(java.lang.String qualified)
Get child scope instance with the given name of current Scope |
void |
remove(Scope scope)
Remove the given scope |
void |
remove(java.lang.String name)
Remove a child scope of current Scope with the given name |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public Organization createOrganization(java.lang.String name) throws ManagementException
name
- name of new organizationpublic Application createApplication(java.lang.String name) throws java.lang.IllegalArgumentException, ManagementException
name
- name of new applicationpublic Scope create(java.lang.String name, java.lang.String type) throws java.lang.IllegalArgumentException, ManagementException
name
- name of new scopetype
- scope type, valid values are Scope.ALES_ORGANIZATION and Scope.ALES_APPLICATIONpublic void remove(java.lang.String name) throws ManagementException
name
- name to the scopepublic void remove(Scope scope) throws ManagementException
scope
- the scope to be removedpublic Scope getScope(java.lang.String name) throws java.lang.IllegalArgumentException, ManagementException
name
- name of the scopepublic Scope getScopeWithFullQuaifiedName(java.lang.String qualified) throws ManagementException
name
- name of the scopepublic Organization getRoot() throws ManagementException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |