An application uses an InitialContext object to create objects from object definitions that are retrieved from a repository of administered objects.
.NET property | Description |
---|---|
Environment | Get the environment. |
Constructor | Description |
---|---|
InitialContext | Create an InitialContext object. |
Method | Description |
---|---|
AddToEnvironment | Add a new property to the environment. |
Close | Close this context. |
Lookup | Create an object from an object definition that is retrieved from the repository of administered objects. |
RemoveFromEnvironment | Remove a property from the environment. |
Object AddToEnvironment(String propName, Object propVal);
Add a new property to the environment.
Object Lookup(String name);
Create an object from an object definition that is retrieved from the repository of administered objects.
Object RemoveFromEnvironment(String propName);
Remove a property from the environment.