当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
LayoutFeaturesDeploymentFactory - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.theme.deployment.jboss
Class LayoutFeaturesDeploymentFactory
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.common.system.AbstractJBossService
org.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory
org.jboss.portal.theme.deployment.jboss.LayoutFeaturesDeploymentFactory
- All Implemented Interfaces:
- DeploymentFactory, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class LayoutFeaturesDeploymentFactory
- extends AbstractDeploymentFactory
Create a layout deployer.
Field Summary |
protected static java.util.regex.Pattern |
URL_PATTERN
|
protected static java.util.regex.Pattern |
URL_PATTERN2
|
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.portal.server.deployment.jboss.AbstractDeploymentFactory |
createService, destroyService, getDeployer, getName, getSetupLocation, getSetupURL, isRegistrationControlledByService, registerFactory, setDeployer, setRegistrationControlledByService, setSetupLocation, startService, stopService, unregisterFactory |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
getDeploymentInfo, getLog, 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, toString, wait, wait, wait |
URL_PATTERN
protected static final java.util.regex.Pattern URL_PATTERN
URL_PATTERN2
protected static final java.util.regex.Pattern URL_PATTERN2
LayoutFeaturesDeploymentFactory
public LayoutFeaturesDeploymentFactory()
accept
public boolean accept(java.net.URL url)
- Description copied from interface:
DeploymentFactory
- Return true if the factory accept to create a deployment for this url.
acceptDir
public boolean acceptDir(java.net.URL url)
- Description copied from class:
AbstractDeploymentFactory
- Accept only the WEB-INF directory by default.
- Specified by:
acceptDir
in interface DeploymentFactory
- Overrides:
acceptDir
in class AbstractDeploymentFactory
newInstance
public Deployment newInstance(java.net.URL url,
PortalWebApp pwa,
javax.management.MBeanServer mbeanServer)
throws org.jboss.deployment.DeploymentException
- Description copied from interface:
DeploymentFactory
- Create a new instance of the deployment.
- Parameters:
url
- the URL of the file to deploypwa
- the web application that contains the file to deploymbeanServer
- the JMX mbean server
- Returns:
- a deployment
- Throws:
org.jboss.deployment.DeploymentException
- if the deployment cannot be created
getLayoutService
public LayoutService getLayoutService()
setLayoutService
public void setLayoutService(LayoutService layoutService)