Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.ejb.machine
Interface Machine  view Machine download Machine.java

All Superinterfaces:
com.flexstor.ejb.EjbObject, javax.ejb.EJBObject, java.rmi.Remote

public interface Machine
extends com.flexstor.ejb.EjbObject

Machine

This interface defines a machine that connects to FLEXSTOR.db.
At this point, there is no dirty write checking for updates. This bean functions under
the assumption that there should only one client updating a Machine.
Right now, this bean is configured for updating a small number of machine settings (<10).
Later, the bean may be needed to be changed because a larger number of machine settings are actually used.

Uses cache: no State Management Type: Stateless

Configurable properties in flexdm.properties:

NONE


Field Summary
static java.lang.String IDENTIFIER
           
 
Method Summary
 com.flexstor.common.data.ejb.machine.MachineData getDataObject(java.lang.String aMachineName)
          Retrieve Machine's state data object Transaction Attribute: Not Supported
 void update(com.flexstor.common.data.ejb.machine.MachineData aDataObject)
          Save the current state of the object to the database.
 
Methods inherited from interface com.flexstor.ejb.EjbObject
keepAlive
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Field Detail

IDENTIFIER

public static final java.lang.String IDENTIFIER
See Also:
Constant Field Values
Method Detail

getDataObject

public com.flexstor.common.data.ejb.machine.MachineData getDataObject(java.lang.String aMachineName)
                                                               throws java.rmi.RemoteException,
                                                                      com.flexstor.common.exceptions.ejb.EjbException
Retrieve Machine's state data object Transaction Attribute: Not Supported


update

public void update(com.flexstor.common.data.ejb.machine.MachineData aDataObject)
            throws com.flexstor.common.exceptions.ejb.DuplicateRecordException,
                   java.rmi.RemoteException,
                   com.flexstor.common.exceptions.ejb.EjbException
Save the current state of the object to the database. Transaction Attribute: Required