|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.mchaplin.ioc.component.DefaultComponentFactory
net.mchaplin.ioc.rmi.RmiServerFactory
public class RmiServerFactory
Use the 'Hollywood Principle : don't call me, i'll call you
| Field Summary |
|---|
| Fields inherited from class net.mchaplin.ioc.component.DefaultComponentFactory |
|---|
container, log |
| Fields inherited from interface net.mchaplin.ioc.component.ComponentI |
|---|
CMP_I |
| Constructor Summary | |
|---|---|
RmiServerFactory(Container ctx,
ContainerI aContainer)
|
|
| Method Summary | |
|---|---|
ContainerI |
getContainer()
Provide component dependencies lookup facility |
void |
reset()
Provide facility for runtime component redeployment |
ComponentI |
retrieveInstance()
Retrieve an instance of Component created by this factory. |
void |
setContainer(ContainerI container)
Dependency injection setter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RmiServerFactory(Container ctx,
ContainerI aContainer)
| Method Detail |
|---|
public ComponentI retrieveInstance()
ComponentFactoryI
retrieveInstance in interface ComponentFactoryIpublic ContainerI getContainer()
ComponentI
getContainer in interface ComponentIgetContainer in class DefaultComponentFactorypublic void reset()
ComponentI
reset in interface ComponentIreset in class DefaultComponentFactorypublic void setContainer(ContainerI container)
ComponentI
setContainer in interface ComponentIsetContainer in class DefaultComponentFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||