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

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


setInvokerName

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


getJndiName

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


setJndiName

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


getInvokerURL

String getInvokerURL()
Get the http URL to the InvokerServlet


setInvokerURL

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


getInvokerURLPrefix

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


setInvokerURLPrefix

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

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


setInvokerURLSuffix

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

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

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

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


setExportedInterface

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


getClientInterceptors

Element getClientInterceptors()

setClientInterceptors

void setClientInterceptors(Element config)
                           throws Exception
Throws:
Exception

getProxy

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


getProxy

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.