|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.invocation.Invocation
public class Invocation
Represents a call from JNDI Context
to PartitionNexus
.
Constructor Summary | |
---|---|
Invocation(PartitionNexusProxy proxy,
javax.naming.Context caller,
java.lang.String name)
Creates a new instance that represents an invocation without parameters. |
|
Invocation(PartitionNexusProxy proxy,
javax.naming.Context caller,
java.lang.String name,
java.lang.Object[] parameters)
Creates a new instance. |
|
Invocation(PartitionNexusProxy proxy,
javax.naming.Context caller,
java.lang.String name,
java.lang.Object[] parameters,
java.util.Collection bypassed)
Creates a new instance. |
Method Summary | |
---|---|
javax.naming.Context |
getCaller()
Returns the JNDI Context which made this invocation. |
java.lang.String |
getName()
Returns the name of the called method. |
java.util.List |
getParameters()
Returns the list of parameters parameters passed to the called method. |
PartitionNexusProxy |
getProxy()
Returns the proxy object to the PartitionNexus . |
boolean |
hasBypass()
Checks to see if any interceptors are bypassed by this Invocation. |
boolean |
isBypassed(java.lang.String interceptorName)
Checks to see if an interceptor is bypassed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Invocation(PartitionNexusProxy proxy, javax.naming.Context caller, java.lang.String name)
caller
- the JNDI Context
that made this invocationname
- the name of the called methodpublic Invocation(PartitionNexusProxy proxy, javax.naming.Context caller, java.lang.String name, java.lang.Object[] parameters)
caller
- the JNDI Context
that made this invocationname
- the name of the called methodparameters
- the array of parameters passed to the called methodpublic Invocation(PartitionNexusProxy proxy, javax.naming.Context caller, java.lang.String name, java.lang.Object[] parameters, java.util.Collection bypassed)
caller
- the JNDI Context
that made this invocationname
- the name of the called methodparameters
- the array of parameters passed to the called methodbypassed
- the set of bypassed Interceptor namesMethod Detail |
---|
public PartitionNexusProxy getProxy()
PartitionNexus
.
public javax.naming.Context getCaller()
Context
which made this invocation.
public java.lang.String getName()
public java.util.List getParameters()
public boolean isBypassed(java.lang.String interceptorName)
interceptorName
- the interceptorName of the interceptor to check for bypass
public boolean hasBypass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |