|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory
org.jboss.portal.portlet.deployment.jboss.PortletAppDeploymentFactory
public class PortletAppDeploymentFactory
todo : remove unused ConfigService
Field Summary | |
---|---|
protected ServerConfig |
config
. |
protected org.xml.sax.EntityResolver |
jbossPortletEntityResolver
. |
protected PortletAPIFactory |
portletAPIFactory
. |
protected java.lang.String |
portletAPIFactoryClassName
. |
protected PortletApplicationRegistry |
portletApplicationRegistry
. |
protected PortletInfoFactory |
portletInfoFactory
. |
protected java.lang.String |
portletInfoFactoryClassName
. |
protected PortletSecurityService |
portletSecurityService
. |
protected JBossApplicationMetaData |
standardJBossApplicationMetaData
. |
protected java.lang.String |
standardJBossApplicationMetaDataLocation
. |
protected static java.util.regex.Pattern |
urlPattern
. |
Fields inherited from class org.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory |
---|
deployer, log, name, registrationControlledByService, setupLocation, setupURL |
Constructor Summary | |
---|---|
PortletAppDeploymentFactory()
|
Method Summary | |
---|---|
boolean |
acceptFile(java.net.URL url)
Return true if the filter accepts the url. |
JBossApplicationMetaDataFactory |
createJBossApplicationMetaDataFactory()
Subclasses can provide a subclass of JBossApplicationMetaDataFactory. |
ServerConfig |
getConfig()
|
org.xml.sax.EntityResolver |
getJBossPortletEntityResolver()
|
PortletAPIFactory |
getPortletAPIFactory()
|
java.lang.String |
getPortletAPIFactoryClassName()
|
PortletInfoFactory |
getPortletInfoFactory()
|
java.lang.String |
getPortletInfoFactoryClassName()
|
PortletSecurityService |
getPortletSecurityService()
|
JBossApplicationMetaData |
getStandardJBossApplicationMetaData()
|
java.lang.String |
getStandardJBossApplicationMetaDataLocation()
|
PortletApplicationRegistry |
getWebAppRegistry()
|
void |
loadStandardJBossApplicationMetaData()
|
Deployment |
newInstance(java.net.URL url,
PortalWebApp pwa,
javax.management.MBeanServer mbeanServer)
Create a new instance of the deployment. |
void |
setConfig(ServerConfig config)
|
void |
setJBossPortletEntityResolver(org.xml.sax.EntityResolver jbossPortletEntityResolver)
|
void |
setPortletAPIFactoryClassName(java.lang.String apiFactoryClassName)
|
void |
setPortletInfoFactoryClassName(java.lang.String portletInfoFactoryClassName)
|
void |
setPortletSecurityService(PortletSecurityService portletSecurityService)
|
void |
setStandardJBossApplicationMetaDataLocation(java.lang.String standardJBossApplicationMetaDataLocation)
|
void |
setWebAppRegistry(PortletApplicationRegistry portletApplicationRegistry)
|
void |
start()
Register the factory only if it is controlled by the service lifecycle. |
void |
stop()
Unregister the factory only if it is controlled by the service lifecycle. |
Methods inherited from class org.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory |
---|
acceptDir, create, destroy, getDeployer, getName, getSetupLocation, getSetupURL, isRegistrationControlledByService, registerFactory, setDeployer, setRegistrationControlledByService, setSetupLocation, unregisterFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.util.regex.Pattern urlPattern
protected PortletApplicationRegistry portletApplicationRegistry
protected ServerConfig config
protected java.lang.String portletAPIFactoryClassName
protected java.lang.String portletInfoFactoryClassName
protected PortletAPIFactory portletAPIFactory
protected PortletSecurityService portletSecurityService
protected java.lang.String standardJBossApplicationMetaDataLocation
protected JBossApplicationMetaData standardJBossApplicationMetaData
protected org.xml.sax.EntityResolver jbossPortletEntityResolver
protected PortletInfoFactory portletInfoFactory
Constructor Detail |
---|
public PortletAppDeploymentFactory()
Method Detail |
---|
public org.xml.sax.EntityResolver getJBossPortletEntityResolver()
public void setJBossPortletEntityResolver(org.xml.sax.EntityResolver jbossPortletEntityResolver)
public ServerConfig getConfig()
public void setConfig(ServerConfig config)
public java.lang.String getPortletAPIFactoryClassName()
public void setPortletAPIFactoryClassName(java.lang.String apiFactoryClassName)
public java.lang.String getPortletInfoFactoryClassName()
public void setPortletInfoFactoryClassName(java.lang.String portletInfoFactoryClassName)
public PortletApplicationRegistry getWebAppRegistry()
public void setWebAppRegistry(PortletApplicationRegistry portletApplicationRegistry)
public java.lang.String getStandardJBossApplicationMetaDataLocation()
public void setStandardJBossApplicationMetaDataLocation(java.lang.String standardJBossApplicationMetaDataLocation)
public JBossApplicationMetaData getStandardJBossApplicationMetaData()
public PortletAPIFactory getPortletAPIFactory()
public PortletInfoFactory getPortletInfoFactory()
public boolean acceptFile(java.net.URL url)
URLFilter
public Deployment newInstance(java.net.URL url, PortalWebApp pwa, javax.management.MBeanServer mbeanServer) throws org.jboss.deployment.DeploymentException
DeploymentFactory
url
- the URL of the file to deploypwa
- the web application that contains the file to deploy or null if it does not existmbeanServer
- the JMX mbean server
org.jboss.deployment.DeploymentException
- if the deployment cannot be createdpublic void start() throws java.lang.Exception
AbstractDeploymentFactory
start
in class AbstractDeploymentFactory
java.lang.Exception
public void loadStandardJBossApplicationMetaData()
public void stop()
AbstractDeploymentFactory
stop
in class AbstractDeploymentFactory
public PortletSecurityService getPortletSecurityService()
public void setPortletSecurityService(PortletSecurityService portletSecurityService)
public JBossApplicationMetaDataFactory createJBossApplicationMetaDataFactory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |