|
||||||||||
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. |
java.lang.String |
getCodebaseURI()
Get the appliance codebase uri. |
java.lang.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 java.rmi.RemoteException
java.rmi.RemoteException
- if a RMI remoting exception occursvoid addApplianceListener(ApplianceListener listener) throws java.rmi.RemoteException
listener
- the appliance listener
java.rmi.RemoteException
- if a RMI error occursvoid removeApplianceListener(ApplianceListener listener) throws java.rmi.RemoteException
listener
- the appliance listener
java.rmi.RemoteException
- if a RMI error occursvoid commission() throws java.io.IOException
java.io.IOException
- if a I/O error occursvoid decommission() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a RMI error occursAppliance[] getChildren() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a RMI error occursjava.lang.String getName() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a RMI error occursjava.lang.String getCodebaseURI() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a RMI error occursboolean isCommissioned() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a RMI error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |