org.jboss.ejb3.endpoint
Class AbstractEndpoint
java.lang.Object
org.jboss.ejb3.endpoint.AbstractEndpoint
- All Implemented Interfaces:
- Endpoint
public abstract class AbstractEndpoint
- extends Object
- implements Endpoint
An implementation of Endpoint that holds the association with an optional
SessionFactory.
- Version:
- $Revision: $
- Author:
- Carlo de Wolf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.ejb3.endpoint.Endpoint |
invoke |
AbstractEndpoint
public AbstractEndpoint()
AbstractEndpoint
public AbstractEndpoint(SessionFactory factory)
getSessionFactory
public SessionFactory getSessionFactory()
throws IllegalStateException
- Description copied from interface:
Endpoint
- The SessionFactory associated with this Endpoint, if the Endpoint is session aware.
- Specified by:
getSessionFactory
in interface Endpoint
- Returns:
- the associated session factory
- Throws:
IllegalStateException
- if this Endpoint is not session aware
isSessionAware
public boolean isSessionAware()
- Specified by:
isSessionAware
in interface Endpoint
- Returns:
- true if this Endpoint is session aware
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.