Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jini.admin
Interface StorageLocationAdmin

public interface StorageLocationAdmin

Admin interface for controlling the location of a service's persistent storage. Administrable services are encouraged to have their admin object implement this interface.

See Also:
  `Administrable.getAdmin()`

Method Summary
`String` | `getStorageLocation()` Returns the location of the service's persistent storage.
`void` | `setStorageLocation(String location)` Sets the location of the service's persistent storage, moving all current persistent storage from the current location to the specified new location.

Method Detail

### getStorageLocation

    public String getStorageLocation()
                              throws RemoteException

  Returns the location of the service's persistent storage. Typically returns a directory pathname unless the service specifies otherwise.

  Throws:
    `RemoteException`

### setStorageLocation

    public void setStorageLocation(String location)
                            throws IOException,
                                   RemoteException

  Sets the location of the service's persistent storage, moving all current persistent storage from the current location to the specified new location.

  Throws:
    `IOException` - if moving the persistent storage fails
    `RemoteException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved