public abstract class HardWiredInterceptor extends Object implements MethodInterceptor
Constructor and Description |
---|
HardWiredInterceptor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invoke
public static void configure(List<HardWiredInterceptor> hwi, OmeroContext ctx)
public String getName()
selfConfigure(OmeroContext)
. If the method returns null,
selfConfigure(OmeroContext)
will not run.public void selfConfigure(OmeroContext context)
OmeroContext.applyBeanPropertyValues(Object, String)
to
have properties injected.public static List<HardWiredInterceptor> parse(String[] classNames)
List
of instantiated interceptors from
a list of HardWiredInterceptor
subclass names.public static void initializeUserAttributes(MethodInvocation mi, ServiceFactory sf, Principal pr, AtomicBoolean reusedSession)
ReflectiveMethodInvocation.getUserAttributes()
Map
for lookup in subclassesprotected ServiceFactory getServiceFactory(MethodInvocation mi)
protected Principal getPrincipal(MethodInvocation mi)
protected boolean hasPassword(MethodInvocation mi)
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.