当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
AbstractJNDIServiceFactory - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.wsrp.services
Class AbstractJNDIServiceFactory
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.common.system.AbstractJBossService
org.jboss.portal.wsrp.services.AbstractJNDIServiceFactory
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, ServiceFactory, org.jboss.system.ServiceMBean
- Direct Known Subclasses:
- AbstractSOAPServiceFactory, RMIInvokerServiceFactory
- public abstract class AbstractJNDIServiceFactory
- extends AbstractJBossService
- implements ServiceFactory
A service factory implementation that get the services using JNDI lookups.
- Since:
- 2.4
Field Summary |
protected org.jboss.logging.Logger |
log
The logger. |
protected java.util.Properties |
portJNDIMapping
A Map recording the mapping between WSRP port type class name and JDNI name of the implementing service. |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, startService, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
log
protected final org.jboss.logging.Logger log
- The logger.
portJNDIMapping
protected java.util.Properties portJNDIMapping
- A Map recording the mapping between WSRP port type class name and JDNI name of the implementing service.
AbstractJNDIServiceFactory
public AbstractJNDIServiceFactory()
createService
protected void createService()
throws java.lang.Exception
- Throws:
java.lang.Exception
getEnv
public java.util.Properties getEnv()
setEnv
public void setEnv(java.util.Properties env)
getService
public java.lang.Object getService(java.lang.Class serviceClass)
throws java.lang.Exception
- Specified by:
getService
in interface ServiceFactory
- Throws:
java.lang.Exception
getPortJNDIMapping
public java.util.Properties getPortJNDIMapping()
setPortJNDIMapping
public void setPortJNDIMapping(java.util.Properties portJNDIMapping)