com.novell.service.bindery
Class BinderyObjectDirContext
java.lang.Object
|
+--com.sun.jndi.toolkit.ctx.PartialCompositeContext
|
+--com.sun.jndi.toolkit.ctx.ComponentContext
|
+--com.sun.jndi.toolkit.ctx.AtomicContext
|
+--com.sun.jndi.toolkit.ctx.PartialCompositeDirContext
|
+--com.sun.jndi.toolkit.ctx.ComponentDirContext
|
+--com.sun.jndi.toolkit.ctx.AtomicDirContext
|
+--com.novell.service.bindery.BinderyObjectDirContext
- public class BinderyObjectDirContext
- extends com.sun.jndi.toolkit.ctx.AtomicDirContext
- implements javax.naming.Referenceable
Represents an individual object found in the NetWare bindery.
Extensions of BinderyObjectDirContext include QueueBinderyObjectDirContext,
TreeBinderyObjectDirContext and ServerBinderyObjectDirContext,
which represent dynamic queue, tree and server entries, respectively,
in the bindery.
All bindery objects have the following mandatory attributes, which
are included in the variables defined in this class:
- binderyObjectID
- binderyObjectType
- objFlags
- objSecurity
- hasProperties
The bindery object name is used for the binding name. Because the
NetWare bindery does not require that names be unique, the type is
also used to uniquely identify a bindery object. Thus, the name of
a bindery object is composed of its name and type (for example
SUPERVISOR+1).
- See Also:
BinderyDirContext
,
BinderyPropertyAttrVal
,
BinderyPropertyDataSegment
Field Summary |
protected int |
binderyObjectID
The ID of the bindery object assigned by the server. |
protected java.lang.String |
binderyObjectNameOnly
The name of a bindery object used for the binding name and
consisting of its name and type. |
protected int |
binderyObjectType
The type of the bindery object assigned upon creation. |
protected int |
hasProperties
Determines if additional attributes exist for this object. |
protected int |
objFlags
Defines whether the object is static or dynamic. |
protected int |
objSecurity
Defines the access control for the object. |
Fields inherited from class com.sun.jndi.toolkit.ctx.ComponentContext |
TERMINAL_COMPONENT,
TERMINAL_NNS_COMPONENT,
USE_CONTINUATION |
Fields inherited from class com.sun.jndi.toolkit.ctx.PartialCompositeContext |
_ATOMIC,
_COMPONENT,
_contextType,
_PARTIAL |
Constructor Summary |
BinderyObjectDirContext(BinderyEnvironment env)
Constructs a BinderyObjectDirContext with only a
BinderyEnvironment parameter. |
BinderyObjectDirContext(Environment env,
java.lang.String binderyObjectName,
int binderyObjectType,
int binderyObjectID,
int hasProperties,
int objSecurity,
int objFlags)
Constructs a BinderyObjectDirContext object with the passed
in parameters. |
Methods inherited from class com.sun.jndi.toolkit.ctx.AtomicDirContext |
a_bind_nns,
a_createSubcontext_nns,
a_getAttributes_nns,
a_getSchema_nns,
a_getSchemaDefinition_nns,
a_modifyAttributes_nns,
a_modifyAttributes_nns,
a_rebind_nns,
a_search_nns,
a_search_nns,
a_search_nns,
c_bind_nns,
c_bind,
c_createSubcontext_nns,
c_createSubcontext,
c_getAttributes_nns,
c_getAttributes,
c_getSchema_nns,
c_getSchema,
c_getSchemaClassDefinition_nns,
c_getSchemaClassDefinition,
c_modifyAttributes_nns,
c_modifyAttributes_nns,
c_modifyAttributes,
c_modifyAttributes,
c_rebind_nns,
c_rebind,
c_search_nns,
c_search_nns,
c_search_nns,
c_search,
c_search,
c_search |
Methods inherited from class com.sun.jndi.toolkit.ctx.ComponentDirContext |
p_bind,
p_createSubcontext,
p_getAttributes,
p_getSchema,
p_getSchemaClassDefinition,
p_modifyAttributes,
p_modifyAttributes,
p_rebind,
p_search,
p_search,
p_search |
Methods inherited from class com.sun.jndi.toolkit.ctx.PartialCompositeDirContext |
a_bind,
a_createSubcontext,
a_destroySubcontext,
a_listBindings,
a_lookupLink,
a_rebind,
a_rename,
a_unbind,
bind,
bind,
createSubcontext,
createSubcontext,
getAttributes,
getAttributes,
getAttributes,
getAttributes,
getPCDirContext,
getSchema,
getSchema,
getSchemaClassDefinition,
getSchemaClassDefinition,
modifyAttributes,
modifyAttributes,
modifyAttributes,
modifyAttributes,
rebind,
rebind,
search,
search,
search,
search,
search,
search,
search,
search |
Methods inherited from class com.sun.jndi.toolkit.ctx.AtomicContext |
a_bind_nns,
a_createSubcontext_nns,
a_destroySubcontext_nns,
a_getNameParser_nns,
a_list_nns,
a_listBindings_nns,
a_lookup_nns,
a_lookupLink_nns,
a_processJunction_nns,
a_processJunction_nns,
a_rebind_nns,
a_rename_nns,
a_resolveIntermediate_nns,
a_unbind_nns,
c_bind_nns,
c_bind,
c_createSubcontext_nns,
c_createSubcontext,
c_destroySubcontext_nns,
c_destroySubcontext,
c_getNameParser_nns,
c_getNameParser,
c_list_nns,
c_list,
c_listBindings_nns,
c_listBindings,
c_lookup_nns,
c_lookup,
c_lookupLink_nns,
c_lookupLink,
c_rebind_nns,
c_rebind,
c_rename_nns,
c_rename,
c_resolveIntermediate_nns,
c_unbind_nns,
c_unbind,
isEmpty,
resolve_to_context,
resolve_to_nns_and_continue,
resolve_to_penultimate_context_nns,
resolve_to_penultimate_context |
Methods inherited from class com.sun.jndi.toolkit.ctx.ComponentContext |
c_processJunction_nns,
isAllEmpty,
p_bind,
p_createSubcontext,
p_destroySubcontext,
p_getNameParser,
p_list,
p_listBindings,
p_lookup,
p_lookupLink,
p_parseComponent,
p_rebind,
p_rename,
p_resolveIntermediate,
p_resolveToClass,
p_unbind |
Methods inherited from class com.sun.jndi.toolkit.ctx.PartialCompositeContext |
allEmpty,
bind,
bind,
composeName,
composeName,
createSubcontext,
createSubcontext,
destroySubcontext,
destroySubcontext,
getNameParser,
getNameParser,
getPCContext,
list,
list,
listBindings,
listBindings,
lookup,
lookup,
lookupLink,
lookupLink,
rebind,
rebind,
rename,
rename,
resolveToClass,
resolveToClass,
unbind,
unbind |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
binderyObjectNameOnly
protected java.lang.String binderyObjectNameOnly
- The name of a bindery object used for the binding name and
consisting of its name and type.
binderyObjectType
protected int binderyObjectType
- The type of the bindery object assigned upon creation.
binderyObjectID
protected int binderyObjectID
- The ID of the bindery object assigned by the server.
hasProperties
protected int hasProperties
- Determines if additional attributes exist for this object.
Set to TRUE if additional attributes exist, otherwise set
to FALSE.
objSecurity
protected int objSecurity
- Defines the access control for the object.
objFlags
protected int objFlags
- Defines whether the object is static or dynamic.
BinderyObjectDirContext
public BinderyObjectDirContext(BinderyEnvironment env)
throws javax.naming.NamingException
- Constructs a BinderyObjectDirContext with only a
BinderyEnvironment parameter. This is a NULL constructor,
which is required for extension classes that don't explicitly
call the parameterized constructor.
- Parameters:
env
- Contains the environment variables used to control
the behavior of the bindery name provider.
BinderyObjectDirContext
public BinderyObjectDirContext(Environment env,
java.lang.String binderyObjectName,
int binderyObjectType,
int binderyObjectID,
int hasProperties,
int objSecurity,
int objFlags)
throws javax.naming.NamingException
- Constructs a BinderyObjectDirContext object with the passed
in parameters.
This constructor is used by ServerBinderyObjectDirContext,
QueueBinderyObjectDirContext and TreeBinderyObjectDirContext.
Its numerous parameters are all obtained from a call to the
native NWScanObject.
- Parameters:
env
- Contains the environment variables used
to control the behavior of the bindery
name provider.binderyObjectName
- The object name, without a type on it.binderyObjectType
- The object type, in human-readable format.binderyObjectID
- The object ID.hasProperties
- Whether the object has bindery properties;
0 = no.objSecurity
- The type of read/write access control for
this property.objFlags
- Defines whether the object is static or
dynamic (0=Static, 1=dynamic).