org.jboss.ejb.deployers
Class CreateDestination

java.lang.Object
  extended by org.jboss.ejb.deployers.CreateDestination

public class CreateDestination
extends Object

CreateDestination.

Version:
$Revision: 85945 $
Author:
Adrian Brock

Constructor Summary
CreateDestination()
          Create a new CreateDestination.
CreateDestination(CreateDestinationMatcher matcher, CreateDestinationFactory factory)
          Create a new CreateDestination.
 
Method Summary
 void create()
          Validate the parameters
 CreateDestinationFactory getFactory()
          Get the factory.
 CreateDestinationMatcher getMatcher()
          Get the matcher.
 void setFactory(CreateDestinationFactory factory)
          Set the factory.
 void setMatcher(CreateDestinationMatcher matcher)
          Set the matcher.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateDestination

public CreateDestination()
Create a new CreateDestination.


CreateDestination

public CreateDestination(CreateDestinationMatcher matcher,
                         CreateDestinationFactory factory)
Create a new CreateDestination.

Parameters:
matcher - the matcher
factory - the factory
Throws:
IllegalArgumentException - for a null parameter
Method Detail

getMatcher

public CreateDestinationMatcher getMatcher()
Get the matcher.

Returns:
the matcher.

setMatcher

public void setMatcher(CreateDestinationMatcher matcher)
Set the matcher.

Parameters:
matcher - the matcher.

getFactory

public CreateDestinationFactory getFactory()
Get the factory.

Returns:
the factory.

setFactory

public void setFactory(CreateDestinationFactory factory)
Set the factory.

Parameters:
factory - the factory.

create

public void create()
Validate the parameters



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