|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbiz.hammurapi.config.Reference
public class Reference
This is a dynamic proxy wrapper for one component to obtain a reference to another.
| Constructor Summary | |
|---|---|
Reference()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getMaster()
|
void |
setOwner(java.lang.Object owner)
Plugs the component into container and naming bus. |
void |
setPath(java.lang.String path)
Path to the referenced component |
void |
setType(java.lang.String type)
Interface which dynamic proxy shall implement. |
void |
start()
Invoked by container before the first use. |
void |
stop()
Invoked by container when component is not needed anymore. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Reference()
| Method Detail |
|---|
public java.lang.Object getMaster()
getMaster in interface Wrapperpublic void setOwner(java.lang.Object owner)
Component
setOwner in interface Component
public void start()
throws ConfigurationException
Component
start in interface ComponentConfigurationException
public void stop()
throws ConfigurationException
Component
stop in interface ComponentConfigurationException
public void setType(java.lang.String type)
throws java.lang.ClassNotFoundException
type -
java.lang.ClassNotFoundExceptionpublic void setPath(java.lang.String path)
path -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||