当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
PortletApplicationImpl - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.portlet.container
Class PortletApplicationImpl
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.common.system.AbstractJBossService
org.jboss.portal.portlet.container.PortletApplicationImpl
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, PortletApplication, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class PortletApplicationImpl
- extends AbstractJBossService
- implements PortletApplication
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, 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 |
createService, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister |
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, wait, wait, wait |
portlets
protected java.util.LinkedHashMap portlets
metaData
protected PortletApplicationMetaData metaData
jbossMetaData
protected JBossApplicationMetaData jbossMetaData
context
protected PortletApplicationContext context
portletContext
protected PortletContext portletContext
version
protected java.lang.String version
portletModes
protected java.util.Map portletModes
windowStates
protected java.util.Map windowStates
apiFactory
protected APIFactory apiFactory
registry
protected PortletApplicationRegistry registry
PortletApplicationImpl
public PortletApplicationImpl(PortletApplicationMetaData metaData,
JBossApplicationMetaData jbossMetaData,
PortletApplicationContext context)
getId
public java.lang.String getId()
- Description copied from interface:
PortletApplication
- Return the web app id.
- Specified by:
getId
in interface PortletApplication
getRegistry
public PortletApplicationRegistry getRegistry()
setRegistry
public void setRegistry(PortletApplicationRegistry registry)
getAPIFactory
public APIFactory getAPIFactory()
setAPIFactory
public void setAPIFactory(APIFactory apiFactory)
getMetaData
public PortletApplicationMetaData getMetaData()
getJBossMetaData
public JBossApplicationMetaData getJBossMetaData()
addContainer
public void addContainer(PortletContainer container)
removeContainer
public void removeContainer(PortletContainer container)
startService
public void startService()
throws java.lang.Exception
- Throws:
java.lang.Exception
stopService
public void stopService()
throws java.lang.Exception
- Throws:
java.lang.Exception
getVersion
public java.lang.String getVersion()
getPortletContext
public PortletContext getPortletContext()
getPortletModes
public java.util.Map getPortletModes()
getWindowStates
public java.util.Map getWindowStates()
start
public void start(java.lang.String portletName)
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop(java.lang.String portletName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPortletContainers
public java.util.Set getPortletContainers()
- Description copied from interface:
PortletApplication
- Return the set of components part of this web application.
- Specified by:
getPortletContainers
in interface PortletApplication
getPortletContainer
public PortletContainer getPortletContainer(java.lang.String name)
- Description copied from interface:
PortletApplication
- Return a specific component.
- Specified by:
getPortletContainer
in interface PortletApplication
getContext
public PortletApplicationContext getContext()
- Description copied from interface:
PortletApplication
- Return the porlet application context.
- Specified by:
getContext
in interface PortletApplication
toString
public java.lang.String toString()