|
||||||||||
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 occursvoid addApplianceListener(ApplianceListener listener) throws RemoteException
listener
- the appliance listener
RemoteException
- if a RMI error occursvoid removeApplianceListener(ApplianceListener listener) throws RemoteException
listener
- the appliance listener
RemoteException
- if a RMI error occursvoid commission() throws IOException
IOException
- if a I/O error occursvoid decommission() throws RemoteException
RemoteException
- if a RMI error occursAppliance[] getChildren() throws RemoteException
RemoteException
- if a RMI error occursString getName() throws RemoteException
RemoteException
- if a RMI error occursString getCodebaseURI() throws RemoteException
RemoteException
- if a RMI error occursboolean 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 |