站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

HttpProxyFactoryMBean (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.invocation.http.server
Interface HttpProxyFactoryMBean

All Superinterfaces:
org.jboss.system.Service
All Known Implementing Classes:
HttpProxyFactory

public interface HttpProxyFactoryMBean
extends org.jboss.system.Service

An mbean interface for a proxy factory that can expose any interface with RMI compatible semantics for access to remote clients using HTTP as the transport.

Version:
$Revision: 1.3 $
Author:
Scott.Stark@jboss.org

Method Summary
 Element getClientInterceptors()
           
 Class getExportedInterface()
          Get the RMI compatible interface that the HttpInvokerProxy implements
 javax.management.ObjectName getInvokerName()
          Get the server side mbean that exposes the invoke operation for the exported interface
 String getInvokerURL()
          Get the http URL to the InvokerServlet
 String getInvokerURLPrefix()
          If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.
 String getInvokerURLSuffix()
          If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.
 String getJndiName()
          Get the JNDI name under which the HttpInvokerProxy will be bound
 Object getProxy()
          Get the proxy instance created by the factory.
 Object getProxy(Object id)
          Create a new proxy instance with the given id, no jndi name and all other settings the same as the jndi bound proxy.
 boolean getUseHostName()
          A flag if the InetAddress.getHostName() or getHostAddress() method should be used as the host component of invokerURLPrefix + host + invokerURLSuffix.
 void setClientInterceptors(Element config)
           
 void setExportedInterface(Class exportedInterface)
          Set the RMI compatible interface that the HttpInvokerProxy implements
 void setInvokerName(javax.management.ObjectName jmxInvokerName)
          Set the server side mbean that exposes the invoke operation for the exported interface
 void setInvokerURL(String invokerURL)
          Set the http URL to the InvokerServlet
 void setInvokerURLPrefix(String invokerURLPrefix)
          If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.
 void setInvokerURLSuffix(String invokerURLSuffix)
          If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.
 void setJndiName(String jndiName)
          Set the JNDI name under which the HttpInvokerProxy will be bound
 void setUseHostName(boolean flag)
          A flag if the InetAddress.getHostName() or getHostAddress() method should be used as the host component of invokerURLPrefix + host + invokerURLSuffix.
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getInvokerName

public javax.management.ObjectName getInvokerName()
Get the server side mbean that exposes the invoke operation for the exported interface


setInvokerName

public void setInvokerName(javax.management.ObjectName jmxInvokerName)
Set the server side mbean that exposes the invoke operation for the exported interface


getJndiName

public String getJndiName()
Get the JNDI name under which the HttpInvokerProxy will be bound


setJndiName

public void setJndiName(String jndiName)
Set the JNDI name under which the HttpInvokerProxy will be bound


getInvokerURL

public String getInvokerURL()
Get the http URL to the InvokerServlet


setInvokerURL

public void setInvokerURL(String invokerURL)
Set the http URL to the InvokerServlet


getInvokerURLPrefix

public String getInvokerURLPrefix()
If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.


setInvokerURLPrefix

public void setInvokerURLPrefix(String invokerURLPrefix)
If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix. An example prefix is "http://", and this is the default value.


getInvokerURLSuffix

public String getInvokerURLSuffix()
If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.


setInvokerURLSuffix

public void setInvokerURLSuffix(String invokerURLSuffix)
If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix. An example suffix is "/invoker/JMXInvokerServlet" and this is the default value.


getUseHostName

public boolean getUseHostName()
A flag if the InetAddress.getHostName() or getHostAddress() method should be used as the host component of invokerURLPrefix + host + invokerURLSuffix. If true getHostName() is used, false getHostAddress().


setUseHostName

public void setUseHostName(boolean flag)
A flag if the InetAddress.getHostName() or getHostAddress() method should be used as the host component of invokerURLPrefix + host + invokerURLSuffix. If true getHostName() is used, false getHostAddress().


getExportedInterface

public Class getExportedInterface()
Get the RMI compatible interface that the HttpInvokerProxy implements


setExportedInterface

public void setExportedInterface(Class exportedInterface)
Set the RMI compatible interface that the HttpInvokerProxy implements


getClientInterceptors

public Element getClientInterceptors()

setClientInterceptors

public void setClientInterceptors(Element config)
                           throws Exception
Throws:
Exception

getProxy

public Object getProxy()
Get the proxy instance created by the factory.


getProxy

public Object getProxy(Object id)
Create a new proxy instance with the given id, no jndi name and all other settings the same as the jndi bound proxy.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.