Novell exteNd Messaging Platform 5.2

com.sssw.jbroker.api.admin
Interface Manageable

All Superinterfaces:
Remote
All Known Subinterfaces:
ManageableCollection
All Known Implementing Classes:
_Manageable_Stub, _ManageableBase_Tie, _ManageableCollection_Stub, _ManageableCollectionBase_Tie, ManageableBase, ManageableCollectionBase

public interface Manageable
extends Remote

Remote interface for getting/setting properties.


Method Summary
 String getName()
          get the name of the Manageable.
 Object[] getProperties(String[] propNames)
          Get values for the given property names.
 Object getProperty(String propName)
          Get a property value.
 Class getPropertyType(String propName)
          Get the type of the given property.
 boolean isWritable(String propName)
          Determine if a given property is writable, or just read-only.
 String[] propertyNames()
          Get a list of the property names.
 Class[] propertyTypes()
          Get a list of the property types.
 void setProperties(Hashtable table)
          Set multiple properties.
 void setProperty(String propName, Object propValue)
          Set a property.
 

Method Detail

getName

public String getName()
               throws RemoteException
get the name of the Manageable.

Throws:
RemoteException

getPropertyType

public Class getPropertyType(String propName)
                      throws RemoteException,
                             ManageableException
Get the type of the given property.

Throws:
RemoteException
ManageableException

getProperty

public Object getProperty(String propName)
                   throws RemoteException,
                          ManageableException
Get a property value.

Throws:
RemoteException
ManageableException

setProperty

public void setProperty(String propName,
                        Object propValue)
                 throws RemoteException,
                        ManageableException
Set a property.

Throws:
RemoteException
ManageableException

getProperties

public Object[] getProperties(String[] propNames)
                       throws RemoteException,
                              ManageableException
Get values for the given property names.

Throws:
RemoteException
ManageableException

setProperties

public void setProperties(Hashtable table)
                   throws RemoteException,
                          ManageableException
Set multiple properties. The keys in the hashtable are property names and the respective values are the property values.

Throws:
RemoteException
ManageableException

propertyNames

public String[] propertyNames()
                       throws RemoteException
Get a list of the property names.

Throws:
RemoteException

propertyTypes

public Class[] propertyTypes()
                      throws RemoteException
Get a list of the property types.

Throws:
RemoteException

isWritable

public boolean isWritable(String propName)
                   throws RemoteException,
                          ManageableException
Determine if a given property is writable, or just read-only.

Throws:
RemoteException
ManageableException

Novell exteNd Messaging Platform 5.2

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.