org.openorb.util.service
Class ServiceContext
java.lang.Object
|
+--org.apache.avalon.framework.context.DefaultContext
|
+--org.openorb.util.service.ServiceContext
- All Implemented Interfaces:
- org.apache.avalon.framework.context.Context
- public class ServiceContext
- extends org.apache.avalon.framework.context.DefaultContext
Context information for the Service.
This class is mostly a placeholder for the future
to provide OpenORB specific methods on top
of DefaultContext.
- Author:
- Gary Shea, Shawn Boyce
|
Method Summary |
void |
setORB(Object valueObj)
Deprecated. use put( ORB, valueObj ) instead |
void |
setPOA(Object valueObj)
Deprecated. use put( POA, valueObj ) instead |
void |
setReadOnly()
Deprecated. use makeReadOnly() instead |
| Methods inherited from class org.apache.avalon.framework.context.DefaultContext |
checkWriteable, get, getContextData, getParent, hide, makeReadOnly, put |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORB
public static final String ORB
- ORB parameter key
POA
public static final String POA
- POA parameter key
ServiceContext
public ServiceContext()
setORB
public void setORB(Object valueObj)
- Deprecated. use put( ORB, valueObj ) instead
- Sets the ORB value.
This method can only be called when context is read-write.
- Parameters:
valueObj - ORB value
setPOA
public void setPOA(Object valueObj)
- Deprecated. use put( POA, valueObj ) instead
- Sets the POA value.
This method can only be called when context is read-write.
- Parameters:
valueObj - POA value
setReadOnly
public void setReadOnly()
- Deprecated. use makeReadOnly() instead
- Changes the context to be read-only.