Package org.oddjob.jmx
Class VanillaInterfaceHandler<T>
java.lang.Object
org.oddjob.jmx.VanillaInterfaceHandler<T>
- Type Parameters:
T- The type the handler is for.
- All Implemented Interfaces:
ArooaValue,ArooaSessionAware,ValueFactory<ServerInterfaceHandlerFactory<T,T>>
public class VanillaInterfaceHandler<T>
extends Object
implements ValueFactory<ServerInterfaceHandlerFactory<T,T>>, ArooaSessionAware
Provide a generic
ServerInterfaceManagerFactory for an interface.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.oddjob.arooa.types.ValueFactory
ValueFactory.Conversions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetArooaSession(ArooaSession session) Accept the current Arooa Session.voidsetClassName(String className) toValue()Provide an instance of the type this is a factory for.
-
Constructor Details
-
VanillaInterfaceHandler
public VanillaInterfaceHandler()
-
-
Method Details
-
setArooaSession
Description copied from interface:ArooaSessionAwareAccept the current Arooa Session.- Specified by:
setArooaSessionin interfaceArooaSessionAware- Parameters:
session- The Arooa Session. Never null.
-
getClassName
-
setClassName
-
toValue
Description copied from interface:ValueFactoryProvide an instance of the type this is a factory for.- Specified by:
toValuein interfaceValueFactory<T>- Returns:
- An instance of the type. May be null.
- Throws:
ArooaConversionException- If unable to provide a value.
-