|
|||||||||
| 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 org.jboss.portal.portlet.container.managed.ManagedObjectRegistryEventListener |
bridgeToInvoker
Bridge managed object event to add/remove portlet container in portlet container invoker. |
protected ServerConfig |
config
. |
protected org.xml.sax.EntityResolver |
jbossPortletEntityResolver
. |
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)
|
JBossApplicationMetaDataFactory |
createJBossApplicationMetaDataFactory()
Subclasses can provide a subclass of JBossApplicationMetaDataFactory. |
ServerConfig |
getConfig()
|
InfoBuilderFactory |
getCoreInfoBuilderFactory()
|
org.xml.sax.EntityResolver |
getJBossPortletEntityResolver()
|
org.jboss.portal.portlet.PortletInvoker |
getPortletContainerInvoker()
|
PortletSecurityService |
getPortletSecurityService()
|
JBossApplicationMetaData |
getStandardJBossApplicationMetaData()
|
java.lang.String |
getStandardJBossApplicationMetaDataLocation()
|
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 |
setCoreInfoBuilderFactory(InfoBuilderFactory coreInfoBuilderFactory)
|
void |
setJBossPortletEntityResolver(org.xml.sax.EntityResolver jbossPortletEntityResolver)
|
void |
setPortletContainerInvoker(org.jboss.portal.portlet.PortletInvoker portletContainerInvoker)
|
void |
setPortletSecurityService(PortletSecurityService portletSecurityService)
|
void |
setStandardJBossApplicationMetaDataLocation(java.lang.String standardJBossApplicationMetaDataLocation)
|
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 ServerConfig config
protected PortletSecurityService portletSecurityService
protected java.lang.String standardJBossApplicationMetaDataLocation
protected JBossApplicationMetaData standardJBossApplicationMetaData
protected org.xml.sax.EntityResolver jbossPortletEntityResolver
protected final org.jboss.portal.portlet.container.managed.ManagedObjectRegistryEventListener bridgeToInvoker
| Constructor Detail |
|---|
public PortletAppDeploymentFactory()
| Method Detail |
|---|
public org.xml.sax.EntityResolver getJBossPortletEntityResolver()
public void setJBossPortletEntityResolver(org.xml.sax.EntityResolver jbossPortletEntityResolver)
public void setCoreInfoBuilderFactory(InfoBuilderFactory coreInfoBuilderFactory)
public InfoBuilderFactory getCoreInfoBuilderFactory()
public ServerConfig getConfig()
public void setConfig(ServerConfig config)
public java.lang.String getStandardJBossApplicationMetaDataLocation()
public void setStandardJBossApplicationMetaDataLocation(java.lang.String standardJBossApplicationMetaDataLocation)
public JBossApplicationMetaData getStandardJBossApplicationMetaData()
public boolean acceptFile(java.net.URL url)
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 created
public void start()
throws java.lang.Exception
AbstractDeploymentFactory
start in class AbstractDeploymentFactoryjava.lang.Exceptionpublic void loadStandardJBossApplicationMetaData()
public void stop()
AbstractDeploymentFactory
stop in class AbstractDeploymentFactorypublic PortletSecurityService getPortletSecurityService()
public void setPortletSecurityService(PortletSecurityService portletSecurityService)
public JBossApplicationMetaDataFactory createJBossApplicationMetaDataFactory()
public org.jboss.portal.portlet.PortletInvoker getPortletContainerInvoker()
public void setPortletContainerInvoker(org.jboss.portal.portlet.PortletInvoker portletContainerInvoker)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||