org.jboss.ejb3.proxy.impl.factory
Interface ProxyFactory

All Known Subinterfaces:
ServiceProxyFactory, SessionProxyFactory, SessionSpecProxyFactory, StatefulSessionProxyFactory
All Known Implementing Classes:
ProxyFactoryBase, ServiceLocalProxyFactory, ServiceProxyFactoryBase, ServiceRemoteProxyFactory, SessionProxyFactoryBase, StatefulSessionLocalProxyFactory, StatefulSessionProxyFactoryBase, StatefulSessionRemoteProxyFactory, StatelessSessionLocalProxyFactory, StatelessSessionProxyFactoryBase, StatelessSessionRemoteProxyFactory

public interface ProxyFactory

ProxyFactory Contract for a generic Proxy Factory, specifying a simple lifecycle and functions common to all Proxy Factories

Version:
$Revision: $
Author:
ALR

Method Summary
 String getName()
          Returns the unique name of this ProxyFactory
 void start()
          Lifecycle callback to be invoked before the ProxyFactory is able to service requests
 void stop()
          Lifecycle callback to be invoked before the ProxyFactory is taken out of service, possibly GC'd
 

Method Detail

getName

String getName()
Returns the unique name of this ProxyFactory

Returns:

start

void start()
           throws Exception
Lifecycle callback to be invoked before the ProxyFactory is able to service requests

Throws:
Exception

stop

void stop()
          throws Exception
Lifecycle callback to be invoked before the ProxyFactory is taken out of service, possibly GC'd

Throws:
Exception


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.