JBoss Integration 6.0 Parent 6.0.0.CR1

org.jboss.annotations.spi.naming
Annotation Type JNDI


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface JNDI

JNDI.

Author:
Adrian Brock, Ales Justin

Required Element Summary
 String binding
          The jndi binding
 
Optional Element Summary
 boolean bindDirect
          Whether to bind directly.
 String className
          The class name to use for the jndi binding
 boolean serializable
          Is the object serializable? By default we presume it is.
 

Element Detail

binding

public abstract String binding
The jndi binding

Returns:
the binding qualifier

bindDirect

public abstract boolean bindDirect
Whether to bind directly.

Returns:
true if we should bind directly, false if via factory
Default:
false

className

public abstract String className
The class name to use for the jndi binding

Returns:
the classname used for binding
Default:
""

serializable

public abstract boolean serializable
Is the object serializable? By default we presume it is. If this returns false, we bind the object into NonSerializableFactory.

Returns:
false if the object is not serializable
Default:
true

JBoss Integration 6.0 Parent 6.0.0.CR1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.