|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.portlet.GenericPortlet
org.apache.servicemix.console.ServiceMixPortlet
public abstract class ServiceMixPortlet
| Field Summary | |
|---|---|
protected javax.portlet.PortletRequestDispatcher |
errorView
|
protected javax.portlet.PortletRequestDispatcher |
helpView
|
protected Log |
log
|
protected javax.portlet.PortletRequestDispatcher |
normalView
|
| Constructor Summary | |
|---|---|
ServiceMixPortlet()
|
|
| Method Summary | |
|---|---|
protected void |
closeConnector()
|
void |
destroy()
|
protected void |
doHelp(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
|
protected void |
doProcessAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
protected void |
doView(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
|
protected void |
fillViewRequest(javax.portlet.RenderRequest request)
|
protected String |
getConfigString(String name,
String defValue)
|
String |
getContainerName()
|
DeploymentServiceMBean |
getDeploymentService()
Get the DeploymentServiceMBean |
InstallationServiceMBean |
getInstallationService()
Get the InstallationServiceMBean |
LifeCycleMBean |
getJBIContainer()
|
AuditorMBean |
getJdbcAuditor()
|
JMXConnector |
getJMXConnector(JMXServiceURL url)
Get a JMXConnector from a url |
ManagementContextMBean |
getManagementContext()
Get the ManagementContextMBean |
protected ObjectName |
getObjectName(Class systemClass)
Get a servicemix internal system management instance, from it's class name |
protected String |
getPassword()
|
Object |
getProxy(ObjectName name,
Class type)
|
MBeanServerConnection |
getServerConnection()
|
JMXServiceURL |
getServiceURL()
Get the JMXServiceURL - built from the protocol used and host names |
protected String |
getUsername()
|
void |
init(javax.portlet.PortletConfig portletConfig)
|
void |
processAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
protected void |
renderView(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
|
void |
setContainerName(String containerName)
|
protected void |
setPassword(String password)
|
protected void |
setUsername(String username)
|
| Methods inherited from class javax.portlet.GenericPortlet |
|---|
doDispatch, doEdit, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Log log
protected javax.portlet.PortletRequestDispatcher normalView
protected javax.portlet.PortletRequestDispatcher helpView
protected javax.portlet.PortletRequestDispatcher errorView
| Constructor Detail |
|---|
public ServiceMixPortlet()
| Method Detail |
|---|
public JMXServiceURL getServiceURL()
public JMXConnector getJMXConnector(JMXServiceURL url)
throws IOException
url -
IOException
protected void doHelp(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
throws javax.portlet.PortletException,
IOException
doHelp in class javax.portlet.GenericPortletjavax.portlet.PortletException
IOException
protected void doView(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
throws javax.portlet.PortletException,
IOException
doView in class javax.portlet.GenericPortletjavax.portlet.PortletException
IOException
protected void renderView(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
throws Exception
Exceptionprotected ObjectName getObjectName(Class systemClass)
systemClass -
protected void fillViewRequest(javax.portlet.RenderRequest request)
throws Exception
Exception
public void init(javax.portlet.PortletConfig portletConfig)
throws javax.portlet.PortletException
init in interface javax.portlet.Portletinit in class javax.portlet.GenericPortletjavax.portlet.PortletException
protected String getConfigString(String name,
String defValue)
public void processAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws javax.portlet.PortletException,
IOException
processAction in interface javax.portlet.PortletprocessAction in class javax.portlet.GenericPortletjavax.portlet.PortletException
IOException
protected void doProcessAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws Exception
Exceptionpublic void destroy()
destroy in interface javax.portlet.Portletdestroy in class javax.portlet.GenericPortletprotected void closeConnector()
public InstallationServiceMBean getInstallationService()
throws IOException
IOException
public DeploymentServiceMBean getDeploymentService()
throws IOException
IOException
public ManagementContextMBean getManagementContext()
throws IOException
IOException
public AuditorMBean getJdbcAuditor()
throws IOException
IOException
public LifeCycleMBean getJBIContainer()
throws IOException
IOException
public Object getProxy(ObjectName name,
Class type)
throws IOException
IOException
public MBeanServerConnection getServerConnection()
throws IOException
IOExceptionpublic String getContainerName()
public void setContainerName(String containerName)
protected String getPassword()
protected void setPassword(String password)
password - the password to setprotected String getUsername()
protected void setUsername(String username)
username - the username to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||