@Service public class ResourceNamingService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JAVA_APP_SCOPE_PREFIX |
static String |
JAVA_COMP_SCOPE_PREFIX |
static String |
JAVA_GLOBAL_SCOPE_PREFIX |
static String |
JAVA_MODULE_SCOPE_PREFIX |
static String |
LOGGER |
static String |
LOGMESSAGE_RESOURCE |
Constructor and Description |
---|
ResourceNamingService() |
Modifier and Type | Method and Description |
---|---|
Object |
lookup(GenericResourceInfo resourceInfo,
String name) |
Object |
lookup(GenericResourceInfo resourceInfo,
String name,
Hashtable env) |
void |
publishObject(GenericResourceInfo resourceInfo,
String jndiName,
Object object,
boolean rebind) |
void |
publishObject(ResourceInfo resourceInfo,
Object object,
boolean rebind) |
void |
unpublishObject(GenericResourceInfo resourceInfo,
String jndiName) |
public static final String LOGMESSAGE_RESOURCE
public static final String LOGGER
public static final String JAVA_APP_SCOPE_PREFIX
public static final String JAVA_COMP_SCOPE_PREFIX
public static final String JAVA_MODULE_SCOPE_PREFIX
public static final String JAVA_GLOBAL_SCOPE_PREFIX
public void publishObject(GenericResourceInfo resourceInfo, String jndiName, Object object, boolean rebind) throws NamingException
NamingException
public void publishObject(ResourceInfo resourceInfo, Object object, boolean rebind) throws NamingException
NamingException
public void unpublishObject(GenericResourceInfo resourceInfo, String jndiName) throws NamingException
NamingException
public Object lookup(GenericResourceInfo resourceInfo, String name, Hashtable env) throws NamingException
NamingException
public Object lookup(GenericResourceInfo resourceInfo, String name) throws NamingException
NamingException
Copyright © 2019. All rights reserved.