|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.proxy.InterceptorManagerProxy
public class InterceptorManagerProxy
Protection proxy for InterceptorManager instances.
| Constructor Summary | |
|---|---|
InterceptorManagerProxy(InterceptorManager interceptorManager,
Permissions permissions)
|
|
| Method Summary | |
|---|---|
void |
addInterceptor(int index,
MessageInterceptor interceptor)
Inserts a new interceptor at specified index in the list of currently configured interceptors. |
void |
addInterceptorClass(java.lang.String className)
Installs a new class into the list of available interceptors for the system. |
MessageInterceptor[] |
getAvailableInterceptors()
Returns an array of MessageInterceptor objects that are all of the currently available incerceptors in the system. |
MessageInterceptor |
getInterceptor(int index)
Return the interceptor at the specified index in the list of currently configured interceptors. |
int |
getInterceptorCount()
Returns the count of currently active interceptors. |
void |
removeInterceptor(int index)
Removes the specified interceptor from the list of interceptors. |
void |
saveInterceptors()
Saves all interceptors to the persistent store. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InterceptorManagerProxy(InterceptorManager interceptorManager,
Permissions permissions)
| Method Detail |
|---|
public int getInterceptorCount()
InterceptorManager
getInterceptorCount in interface InterceptorManagerpublic MessageInterceptor getInterceptor(int index)
InterceptorManager
getInterceptor in interface InterceptorManagerindex - the index in the list of interceptors.
public void addInterceptor(int index,
MessageInterceptor interceptor)
InterceptorManager
addInterceptor in interface InterceptorManagerindex - the index in the list to insert the new interceptor at.interceptor - the interceptor to add.public void removeInterceptor(int index)
InterceptorManager
removeInterceptor in interface InterceptorManagerindex - the index of the interceptor to remove.public void saveInterceptors()
InterceptorManager
saveInterceptors in interface InterceptorManagerpublic MessageInterceptor[] getAvailableInterceptors()
InterceptorManager
getAvailableInterceptors in interface InterceptorManager
public void addInterceptorClass(java.lang.String className)
throws UnauthorizedException,
java.lang.ClassNotFoundException,
java.lang.IllegalArgumentException
InterceptorManager
addInterceptorClass in interface InterceptorManagerclassName - the fully qualified name of the class to add to the list of available
filters in the system.
UnauthorizedException - if not a system administator.
java.lang.ClassNotFoundException - if the class could not be loaded.
java.lang.IllegalArgumentException - if the class is not a filter or could not be instantiated.
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||