com.sun.jaw.impl.adaptor.rmi
Class AdaptorClientRO

java.lang.Object
  |
  +--com.sun.jaw.impl.adaptor.rmi.AdaptorClient
        |
        +--com.sun.jaw.impl.adaptor.rmi.AdaptorClientRO

public class AdaptorClientRO
extends AdaptorClient

The AdaptorClientRO class provides an implementation of the AdaptorMO interface based on the Java remote method invocation (RMI) system. This class allows only read access to remote objects.

See Also:
AdaptorMO, AdaptorClient, Serialized Form

Fields inherited from class com.sun.jaw.impl.adaptor.rmi.AdaptorClient
classLoader, eventReceiver, factory, handles, isConnected, listeners, mapper, receiver, serverHost, serverName, serverPort
 
Constructor Summary
AdaptorClientRO()
          Constructs a read-only adaptor client.
 
Method Summary
 java.lang.Object cb_newDBMO(java.lang.String impl, ObjectName name, ModificationList list)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 java.lang.Object cb_newDBMO(java.lang.String impl, ObjectName name, ModificationList list, ObjectName aLoader)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 java.lang.Object cb_newMO(java.lang.String impl, ObjectName name, ModificationList list)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 java.lang.Object cb_newMO(java.lang.String impl, ObjectName name, ModificationList list, ObjectName aLoader)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 void deleteMO(ObjectName name)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
static java.lang.String getClassVersion()
          Returns the version of this class.
 java.lang.Object invokePerform(ObjectName objName, java.lang.String pfName, java.lang.Object[] params)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 void newDBMO(java.lang.String impl, ObjectName name, ModificationList list)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 void newDBMO(java.lang.String impl, ObjectName name, ModificationList list, ObjectName aLoader)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 void newMO(java.lang.String impl, ObjectName name, ModificationList list)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 void newMO(java.lang.String impl, ObjectName name, ModificationList list, ObjectName aLoader)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 void newObj(java.lang.String className)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 void newObj(java.lang.String className, ObjectName aLoader)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 java.lang.Object setIndexedValue(ObjectName name, java.lang.String id, java.lang.Object val, java.lang.String op, int pos)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 java.lang.Object setValue(ObjectName name, java.lang.String id, java.lang.Object val, java.lang.String op)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 PropertyList setValues(ObjectName name, ModificationList modif)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 void transferObject(java.lang.Object object, ObjectName logicalName)
          As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
 
Methods inherited from class com.sun.jaw.impl.adaptor.rmi.AdaptorClient
addListener, cb_connect, cb_disconnect, connect, disconnect, getAdaptorVersion, getClassLoader, getDomain, getIndexedValue, getMapperSrv, getObject, getObjectFromCache, getOnlyNames, getValue, getValues, giveListener, invokePerform, isConnected, removeListener, setClassLoader, setMapperSrv, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdaptorClientRO

public AdaptorClientRO()
Constructs a read-only adaptor client.
Method Detail

setValue

public java.lang.Object setValue(ObjectName name,
                                 java.lang.String id,
                                 java.lang.Object val,
                                 java.lang.String op)
                          throws InstanceNotFoundException,
                                 CommunicationException,
                                 java.lang.IllegalAccessException,
                                 ServiceNotFoundException,
                                 PropertyNotFoundException,
                                 InvalidPropertyValueException,
                                 java.lang.ClassNotFoundException,
                                 java.lang.InstantiationException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
setValue in class AdaptorClient

setIndexedValue

public java.lang.Object setIndexedValue(ObjectName name,
                                        java.lang.String id,
                                        java.lang.Object val,
                                        java.lang.String op,
                                        int pos)
                                 throws InstanceNotFoundException,
                                        CommunicationException,
                                        java.lang.IllegalAccessException,
                                        ServiceNotFoundException,
                                        PropertyNotFoundException,
                                        InvalidPropertyValueException,
                                        java.lang.ClassNotFoundException,
                                        java.lang.InstantiationException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
setIndexedValue in class AdaptorClient

setValues

public PropertyList setValues(ObjectName name,
                              ModificationList modif)
                       throws InstanceNotFoundException,
                              CommunicationException,
                              java.lang.IllegalAccessException,
                              java.lang.reflect.InvocationTargetException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
setValues in class AdaptorClient

newObj

public void newObj(java.lang.String className)
            throws CommunicationException,
                   java.lang.IllegalAccessException,
                   java.lang.InstantiationException,
                   java.lang.ClassNotFoundException,
                   ServiceNotFoundException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
newObj in class AdaptorClient

cb_newMO

public java.lang.Object cb_newMO(java.lang.String impl,
                                 ObjectName name,
                                 ModificationList list)
                          throws CommunicationException,
                                 java.lang.IllegalAccessException,
                                 java.lang.ClassNotFoundException,
                                 ServiceNotFoundException,
                                 InstanceAlreadyExistException,
                                 java.lang.InstantiationException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
cb_newMO in class AdaptorClient

newMO

public void newMO(java.lang.String impl,
                  ObjectName name,
                  ModificationList list)
           throws CommunicationException,
                  java.lang.IllegalAccessException,
                  java.lang.ClassNotFoundException,
                  ServiceNotFoundException,
                  InstanceAlreadyExistException,
                  java.lang.InstantiationException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
newMO in class AdaptorClient

cb_newDBMO

public java.lang.Object cb_newDBMO(java.lang.String impl,
                                   ObjectName name,
                                   ModificationList list)
                            throws CommunicationException,
                                   java.lang.IllegalAccessException,
                                   java.lang.ClassNotFoundException,
                                   ServiceNotFoundException,
                                   InstanceAlreadyExistException,
                                   java.lang.InstantiationException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
cb_newDBMO in class AdaptorClient

newDBMO

public void newDBMO(java.lang.String impl,
                    ObjectName name,
                    ModificationList list)
             throws CommunicationException,
                    java.lang.IllegalAccessException,
                    java.lang.ClassNotFoundException,
                    ServiceNotFoundException,
                    InstanceAlreadyExistException,
                    java.lang.InstantiationException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
newDBMO in class AdaptorClient

newObj

public void newObj(java.lang.String className,
                   ObjectName aLoader)
            throws CommunicationException,
                   java.lang.IllegalAccessException,
                   java.lang.InstantiationException,
                   java.lang.ClassNotFoundException,
                   ServiceNotFoundException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
newObj in class AdaptorClient

newMO

public void newMO(java.lang.String impl,
                  ObjectName name,
                  ModificationList list,
                  ObjectName aLoader)
           throws CommunicationException,
                  java.lang.IllegalAccessException,
                  java.lang.ClassNotFoundException,
                  ServiceNotFoundException,
                  InstanceAlreadyExistException,
                  java.lang.InstantiationException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
newMO in class AdaptorClient

cb_newMO

public java.lang.Object cb_newMO(java.lang.String impl,
                                 ObjectName name,
                                 ModificationList list,
                                 ObjectName aLoader)
                          throws CommunicationException,
                                 java.lang.IllegalAccessException,
                                 java.lang.ClassNotFoundException,
                                 ServiceNotFoundException,
                                 InstanceAlreadyExistException,
                                 java.lang.InstantiationException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
cb_newMO in class AdaptorClient

cb_newDBMO

public java.lang.Object cb_newDBMO(java.lang.String impl,
                                   ObjectName name,
                                   ModificationList list,
                                   ObjectName aLoader)
                            throws CommunicationException,
                                   java.lang.IllegalAccessException,
                                   java.lang.ClassNotFoundException,
                                   ServiceNotFoundException,
                                   InstanceAlreadyExistException,
                                   java.lang.InstantiationException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
cb_newDBMO in class AdaptorClient

newDBMO

public void newDBMO(java.lang.String impl,
                    ObjectName name,
                    ModificationList list,
                    ObjectName aLoader)
             throws CommunicationException,
                    java.lang.IllegalAccessException,
                    java.lang.ClassNotFoundException,
                    ServiceNotFoundException,
                    InstanceAlreadyExistException,
                    java.lang.InstantiationException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
newDBMO in class AdaptorClient

transferObject

public void transferObject(java.lang.Object object,
                           ObjectName logicalName)
                    throws InstanceAlreadyExistException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
transferObject in class AdaptorClient

deleteMO

public void deleteMO(ObjectName name)
              throws InstanceNotFoundException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.
Overrides:
deleteMO in class AdaptorClient

getClassVersion

public static java.lang.String getClassVersion()
Returns the version of this class.
Returns:
String representing the version of this class.

invokePerform

public java.lang.Object invokePerform(ObjectName objName,
                                      java.lang.String pfName,
                                      java.lang.Object[] params)
                               throws InstanceNotFoundException,
                                      CommunicationException,
                                      java.lang.IllegalAccessException,
                                      ServiceNotFoundException,
                                      java.lang.NoSuchMethodException
As a read-only adaptor client, this operation is always rejected with a SecurityException exception.
Throws:
java.lang.SecurityException - This method always throws a SecurityException.