jaugment2.directory
Class MyDeferedRemoteAttributes

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--jaugment2.directory.MyDeferedRemoteAttributes

class MyDeferedRemoteAttributes
extends java.rmi.server.UnicastRemoteObject
implements FileObjectFactory.MyDeferedRemoteAttributesIF

helper-class deferring the loading of all file-attributes until they are really needed

See Also:
Serialized Form

Field Summary
private  javax.naming.directory.BasicAttributes attr
           
private  java.io.File f
           
private  FileObjectFactory fof
           
 
Fields inherited from class java.rmi.server.UnicastRemoteObject
csf, port, portFactoryParamTypes, portParamTypes, serialVersionUID, ssf
 
Fields inherited from class java.rmi.server.RemoteServer
log, logname, serialVersionUID
 
Fields inherited from class java.rmi.server.RemoteObject
ref, serialVersionUID
 
Constructor Summary
MyDeferedRemoteAttributes(java.io.File f, FileObjectFactory fof)
           
 
Method Summary
 javax.naming.directory.Attribute get(java.lang.String p0)
           
 javax.naming.NamingEnumeration getAll()
           
 javax.naming.NamingEnumeration getIDs()
           
private  void init()
           
 boolean isCaseIgnored()
           
 javax.naming.directory.Attribute put(javax.naming.directory.Attribute p0)
           
 javax.naming.directory.Attribute put(java.lang.String p0, java.lang.Object p1)
           
 javax.naming.directory.Attribute remove(java.lang.String p0)
           
 int size()
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
, clone, exportObject, exportObject, exportObject, exportObject, readObject, reexport, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub, writeObject
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

f

private java.io.File f

attr

private javax.naming.directory.BasicAttributes attr

fof

private FileObjectFactory fof
Constructor Detail

MyDeferedRemoteAttributes

public MyDeferedRemoteAttributes(java.io.File f,
                                 FileObjectFactory fof)
                          throws java.rmi.RemoteException
Method Detail

init

private void init()
           throws java.rmi.RemoteException

get

public javax.naming.directory.Attribute get(java.lang.String p0)
                                     throws java.rmi.RemoteException
Specified by:
get in interface FileObjectFactory.MyDeferedRemoteAttributesIF

getAll

public javax.naming.NamingEnumeration getAll()
                                      throws java.rmi.RemoteException
Specified by:
getAll in interface FileObjectFactory.MyDeferedRemoteAttributesIF

getIDs

public javax.naming.NamingEnumeration getIDs()
                                      throws java.rmi.RemoteException
Specified by:
getIDs in interface FileObjectFactory.MyDeferedRemoteAttributesIF

isCaseIgnored

public boolean isCaseIgnored()
                      throws java.rmi.RemoteException
Specified by:
isCaseIgnored in interface FileObjectFactory.MyDeferedRemoteAttributesIF

put

public javax.naming.directory.Attribute put(java.lang.String p0,
                                            java.lang.Object p1)
                                     throws java.rmi.RemoteException
Specified by:
put in interface FileObjectFactory.MyDeferedRemoteAttributesIF

put

public javax.naming.directory.Attribute put(javax.naming.directory.Attribute p0)
                                     throws java.rmi.RemoteException
Specified by:
put in interface FileObjectFactory.MyDeferedRemoteAttributesIF

remove

public javax.naming.directory.Attribute remove(java.lang.String p0)
                                        throws java.rmi.RemoteException
Specified by:
remove in interface FileObjectFactory.MyDeferedRemoteAttributesIF

size

public int size()
         throws java.rmi.RemoteException
Specified by:
size in interface FileObjectFactory.MyDeferedRemoteAttributesIF