|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamingContextFactoryOperations
The NamingContextFactory
provides useful functionality that concerns
an instance of a Naming Service. It also provides the ability to instantiate an initial
NamingContext
.
A client may bind to an object of this type and use the create_context
method to create an initial context. Once the initial context has been created, the
new_context
method can be used to create other contexts.
An instance of this naming context factory is created when the naming service is
started. A description is available in the Naming Service chapter of the Borland
Enterprise Server Developer's Guide.
Method Summary | |
---|---|
NamingContextExt |
create_context()
Allows a client to create a naming context. |
ClusterManager |
get_cluster_manager()
Retrieves the Cluster Manager. |
NamingContext[] |
list_all_roots(java.lang.String password)
Returns a set of contexts from which every context and object binding can be accessed. |
void |
remove_stale_contexts(java.lang.String password)
Removes contexts that have been destroyed. |
void |
shutdown()
Allows a client to gracefully shutdown the naming service. |
Method Detail |
---|
NamingContext[] list_all_roots(java.lang.String password)
We recommend for list_all_roots() to be used by the administrator who maintains the name space. This is an expensive operation and should be used sparingly. It requires traversing through the entire namespace and may take a long time. That's why list_all_roots() requires a password to prevent against accidental usage. The default password is "VisiNaming"
password
- the passwordvoid remove_stale_contexts(java.lang.String password)
It is recommended for remove_all_roots() to be used by the administrator who maintains the name space. This is an expensive operation and should be used sparingly. It requires traversing through the entire namespace and may take a long time. The remove_all_roots() call requires a password to prevent against accidental usage. The default password is "VisiNaming"
ClusterManager get_cluster_manager()
void shutdown()
NamingContextExt create_context()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |