net.mchaplin.ioc.rmi
Class RmiService

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by net.mchaplin.ioc.rmi.RmiService
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, ComponentI, ServiceI

public class RmiService
extends java.rmi.server.UnicastRemoteObject
implements ServiceI, ComponentI

Author:
mchaplin@users.sourceforge.net
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface net.mchaplin.ioc.component.ComponentI
CMP_I
 
Constructor Summary
RmiService()
           
 
Method Summary
 ContainerI getContainer()
          Provide component dependencies lookup facility
 java.lang.String getState()
          Returns a service state unimplemented.
 void reset()
          Provide facility for runtime component redeployment
 void setContainer(ContainerI container)
          Dependency injection setter
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, 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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RmiService

public RmiService()
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

getState

public java.lang.String getState()
Description copied from interface: ServiceI
Returns a service state unimplemented.

Specified by:
getState in interface ServiceI
Returns:
See Also:
ServiceI.getState()

reset

public void reset()
Description copied from interface: ComponentI
Provide facility for runtime component redeployment

Specified by:
reset in interface ComponentI
See Also:
ComponentI.reset()

getContainer

public ContainerI getContainer()
Description copied from interface: ComponentI
Provide component dependencies lookup facility

Specified by:
getContainer in interface ComponentI
Returns:
Returns the container.

setContainer

public void setContainer(ContainerI container)
Description copied from interface: ComponentI
Dependency injection setter

Specified by:
setContainer in interface ComponentI
Parameters:
container - The container to set.


Copyright © 2004-2005 mchaplin.net. All Rights Reserved.