|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectARoad0.AcsAddon.Accbee.Ubuntu.gWork.AcsFactoryUbuntu
public class AcsFactoryUbuntu
This class is an utility class for the creation of the Linux Ubuntu ACS for simulating a Linux Ubuntu 8.04 Desktop. It uses the packages ARoad0.AcsAddon.Accbee.Ubuntu.xxx to create the ACS in the base. It appears the need to create 9 new gBase classes, and also NodeRightsUbuntuImpl and LinkRightsUbuntuImpl in gWork.
To be comply with the AcsAddon architectural pattern, this class offers the method create() called by ActionNewACSyst.createACS(), and the method configure() called by ActionNewACSyst.fillWithAcsObjects().
Field Summary | |
---|---|
private static AcsFactoryUbuntu |
instance__
|
static java.lang.String |
PUBLIC_ACS_ADDON_NAME
the descriptor of the AcsAddon to set in the menu for creating a new ACS. |
Constructor Summary | |
---|---|
AcsFactoryUbuntu()
with this public constructor for the subclasses. |
Method Summary | |
---|---|
ACSImpl |
configure(ACSImpl _result)
Creates the components in a Linux Ubuntu ACS. |
ACSImpl |
create(ImmutableName _iSname,
ImmutableName _name,
java.lang.String _type,
ImmutableName _parent)
Creates a specific Linux Ubuntu ACS. |
static AcsFactoryForAcsAddon |
getInstance()
Only method to obtain the unique instance. |
java.lang.String |
getPublicAcsAddonName()
Gets the descriptor of the AcsAddon, to set in the menu for creating a new ACS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static AcsFactoryUbuntu instance__
public static final java.lang.String PUBLIC_ACS_ADDON_NAME
Constructor Detail |
---|
public AcsFactoryUbuntu()
Method Detail |
---|
public static AcsFactoryForAcsAddon getInstance()
public java.lang.String getPublicAcsAddonName()
getPublicAcsAddonName
in interface AcsFactoryForAcsAddon
public ACSImpl create(ImmutableName _iSname, ImmutableName _name, java.lang.String _type, ImmutableName _parent) throws BaseError
create
in interface AcsFactoryForAcsAddon
_iSname
- the IS of the new ACS. May be null._name
- of the ACS to create or open.
No test of null value nor empty._type
- must be the beginning of PUBLIC_ACS_ADDON_NAME_parent
- is the parent node of the new ACS in the IS. Never null.
BaseError
- if the ACS is known, the ACS is open,
the core ACS is null when it is mandatory, or
ClassNotFoundException, IOException with
invalidClassException if ACSImplUbuntu HAS CHANGED,
or if the type or the specified structure are not correct.public ACSImpl configure(ACSImpl _result)
configure
in interface AcsFactoryForAcsAddon
_result
- to construct
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |