KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sape > carbon > services > ejb > remote > RemoteHomeFactoryConfiguration


1 /*
2  * The contents of this file are subject to the Sapient Public License
3  * Version 1.0 (the "License"); you may not use this file except in compliance
4  * with the License. You may obtain a copy of the License at
5  * http://carbon.sf.net/License.html.
6  *
7  * Software distributed under the License is distributed on an "AS IS" basis,
8  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
9  * the specific language governing rights and limitations under the License.
10  *
11  * The Original Code is The Carbon Component Framework.
12  *
13  * The Initial Developer of the Original Code is Sapient Corporation
14  *
15  * Copyright (C) 2003 Sapient Corporation. All Rights Reserved.
16  */

17
18 package org.sape.carbon.services.ejb.remote;
19
20
21 import org.sape.carbon.services.ejb.HomeFactoryConfiguration;
22
23 /**
24  * <p>This interface describes an EJB service home factory component tailored
25  * specifically for handling lookups for remote objects.</p>
26  * <p>Copyright 2002 Sapient</p>
27  * @since carbon 1.0
28  * @author Erik M Gottesman, June 2002
29  * @version $Revision: 1.7 $($Author: dvoet $ / $Date: 2003/05/05 21:21:28 $)
30  */

31 public interface RemoteHomeFactoryConfiguration
32     extends HomeFactoryConfiguration {
33
34     /**
35      * <p>Accessor method for retrieving the URL of the JNDI provider
36      * associated with this home factory.</p>
37      * @return String The URL of the JNDI provider
38      */

39     String JavaDoc getProviderUrl();
40
41
42     /**
43      * <p>Mutator method for associating a JNDI provider with this home
44      * factory.</p>
45      * @param providerUrl URL of a JNDI provider to be associated with this
46      * home factory
47      */

48     void setProviderUrl(String JavaDoc providerUrl);
49
50
51     /**
52      * <p>Accessor method for determining whether or not this home factory is
53      * configured to use RMI-IIOP for EJB lookups.</p>
54      * @return boolean True if RMI-IIOP is to be used for EJB lookups
55      */

56     boolean isRmiIiop();
57
58
59     /**
60      * <p>Mutator method for setting whether or not this home factory is
61      * configured to use RMI-IIOP for EJB lookups.</p>
62      * @param rmiIiop True if RMI-IIOP is to be used for EJB lookups
63      */

64     void setRmiIiop(boolean rmiIiop);
65 }
66
Popular Tags