|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Appliance
Appliance interface. An appliance represents a component or component collection that can be comissioned and decommissioned.
| Method Summary | |
|---|---|
void |
addApplianceListener(ApplianceListener listener)
Add an appliance listener to the appliance. |
void |
commission()
Commission the appliance. |
void |
decommission()
Decommission the appliance. |
Appliance[] |
getChildren()
Return an array of subsidiary appliance instances managed by this appliance. |
String |
getCodebaseURI()
Get the appliance codebase uri. |
String |
getName()
Get the appliance name. |
State |
getState()
Return the current state of the instance. |
boolean |
isCommissioned()
Get the commissioned state of the appliance. |
void |
removeApplianceListener(ApplianceListener listener)
Remove an appliance listener from the appliance. |
| Method Detail |
|---|
State getState()
throws RemoteException
RemoteException - if a RMI remoting exception occurs
void addApplianceListener(ApplianceListener listener)
throws RemoteException
listener - the appliance listener
RemoteException - if a RMI error occurs
void removeApplianceListener(ApplianceListener listener)
throws RemoteException
listener - the appliance listener
RemoteException - if a RMI error occurs
void commission()
throws IOException
IOException - if a I/O error occurs
void decommission()
throws RemoteException
RemoteException - if a RMI error occurs
Appliance[] getChildren()
throws RemoteException
RemoteException - if a RMI error occurs
String getName()
throws RemoteException
RemoteException - if a RMI error occurs
String getCodebaseURI()
throws RemoteException
RemoteException - if a RMI error occurs
boolean isCommissioned()
throws RemoteException
RemoteException - if a RMI error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||